예제 #1
0
 public static MetaTable CreateTable(Type entityType)
 {
     return(MetaModel.CreateSimpleModel(entityType).Tables.First <MetaTable>());
 }
예제 #2
0
 public static MetaTable CreateTable(ICustomTypeDescriptor typeDescriptor)
 {
     return(MetaModel.CreateSimpleModel(typeDescriptor).Tables.First <MetaTable>());
 }