Skip to content
sunkaixuan edited this page May 4, 2019 · 7 revisions

Description

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
Clone this wiki locally