Ejemplo n.º 1
0
 internal Table(string name, EdmEntityType entityType, Table baseTable, Schema schema)
 {
     _actualName = name;
     _entityType = entityType;
     _baseTable = baseTable;
     _schema = schema;
     _lazyDerivedTables = new Lazy<TableCollection>(GetDerivedTables);
     _lazyColumns = new Lazy<ColumnCollection>(GetColumns);
     _lazyAssociations = new Lazy<AssociationCollection>(GetAssociations);
     _lazyPrimaryKey = new Lazy<Key>(GetPrimaryKey);
 }
 internal SchemaProvider(Schema schema)
 {
     _schema = schema;
 }