-
Notifications
You must be signed in to change notification settings - Fork 1.4k
9.EntityMain
sunkaixuan edited this page May 4, 2019
·
7 revisions
Getting Entity Information
var entityInfo=db.EntityMaintenance.GetEntityInfo<Student>();
foreach (var column in entityInfo.Columns)
{
Console.WriteLine(column.ColumnDescription);
}
name | description | return type |
---|---|---|
GetEntityInfo | Getting Entity Information | EntityInfo |
GetTableName | Get table name by entity | string |
GetEntityName | Get entity name by entity | string |
GetDbColumnName | Get Db column name by property name | string |
GetDbColumnName | Get Db property name by Db column name | string |
GetProperty | Get property by Db column name | string |