예제 #1
0
        public static void AddColumn(this EntityType table, EdmProperty column)
        {
            DebugCheck.NotNull(table);
            DebugCheck.NotNull(column);

            column.SetPreferredName(column.Name);
            column.Name = table.Properties.UniquifyName(column.Name);

            table.AddMember(column);
        }
예제 #2
0
 public static void AddColumn(this EntityType table, EdmProperty column)
 {
     column.SetPreferredName(column.Name);
     column.Name = ((IEnumerable <INamedDataModelItem>)table.Properties).UniquifyName(column.Name);
     table.AddMember((EdmMember)column);
 }