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); }
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); }