PetaPoco.DbName
Provides access to table and colum names for PetaPoco
Table of Contents
Install
Install-Package PetaPoco.DbName
Usage
This package adds two extension methods to IDatabase
:
GetTableName
Returns the Table name in the Database.
database.GetTableName<TestTable>();
GetColumnName
Returns the name of a colum in the Database.
database.GetColumnName<TestTable>(x => x.Property);
Maintainer
Contributing
PetaPoco.DbName follows the Contributor Covenant Code of Conduct.
We accept Pull Requests.
Small note: If editing the Readme, please conform to the standard-readme specification.