public IEnumerable <DataRow> LoadRelationships(IEnumerable <EntityStoreSchemaFilterEntry> filters)
        {
            RelationshipDetailsCollection table = new RelationshipDetailsCollection();

            return(LoadDataTable(
                       RelationshipDetailSql,
                       rows =>
                       rows
                       .OrderBy(r => r.Field <string>("RelationshipName"))
                       .ThenBy(r => r.Field <string>("RelationshipId"))
                       .ThenBy(r => r.Field <int>("Ordinal")),
                       table,
                       EntityStoreSchemaFilterObjectTypes.Table,
                       filters,
                       RelationshipDetailFromTableAlias,
                       RelationshipDetailToTableAlias));
        }
 internal RelationshipDetailsRow(System.Data.DataRowBuilder rb)
     : base(rb)
 {
     this._tableRelationshipDetails = ((RelationshipDetailsCollection)(base.Table));
 }
 internal RelationshipDetailsRow(System.Data.DataRowBuilder rb)
     : base(rb)
 {
     this._tableRelationshipDetails = ((RelationshipDetailsCollection)(base.Table));
 }
 public IEnumerable<DataRow> LoadRelationships(IEnumerable<EntityStoreSchemaFilterEntry> filters)
 {
     RelationshipDetailsCollection table = new RelationshipDetailsCollection();
     return LoadDataTable(
         RelationshipDetailSql,
         rows =>
             rows
             .OrderBy(r => r.Field<string>("RelationshipName"))
             .ThenBy(r => r.Field<string>("RelationshipId"))
             .ThenBy(r => r.Field<int>("Ordinal")), 
         table, 
         EntityStoreSchemaFilterObjectTypes.Table, 
         filters, 
         RelationshipDetailFromTableAlias, 
         RelationshipDetailToTableAlias);
 }