Beispiel #1
0
 public ReferenceInfo(MetaDataStore store, string name, Type referenceType, PropertyInfo propertyInfo)
     : base(store, name, store.GetTableInfoFor(referenceType).PrimaryKey.DotNetType,
            store.GetTableInfoFor(referenceType).PrimaryKey.DbType, propertyInfo)
 {
     ReferenceType = referenceType;
 }
Beispiel #2
0
 public ColumnInfo(MetaDataStore store, string name, Type dotNetType, PropertyInfo propertyInfo)
     : this(store, name, dotNetType, TypeConverter.ToDbType(dotNetType), propertyInfo)
 {
 }
Beispiel #3
0
 public TableInfo(MetaDataStore store, string name, Type entityType)
     : base(store)
 {
     Name = name;
     EntityType = entityType;
 }