Provides access to table and colum names for PetaPoco
Install-Package PetaPoco.DbName
This package adds two extension methods to IDatabase
:
Returns the Table name in the Database.
database.GetTableName<TestTable>();
Returns the name of a colum in the Database.
database.GetColumnName<TestTable>(x => x.Property);
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.