public void MetadataInit() { _columns = new columnCollection(); _contenttypes = new contenttypeCollection(); _listtemplates = new listtemplateCollection(); _ContenttypeColumns = new ContenttypeColumnCollection(); _ListtemplateContenttypes = new ListtemplateContenttypeCollection(); _ListtemplateColumns = new ListtemplateColumnCollection(); }
private void initcolum() { ListtemplateColumnCollection MASTERlistcolumns = new ListtemplateColumnCollection(); _ListtemplateColumns = new List <ListtemplateColumn>(); foreach (ListtemplateColumn MASTERlistcolumn in MASTERlistcolumns.getAllListtemplateColumns) { if (MASTERlistcolumn.ListNavn_id == _id) { _ListtemplateColumns.Add(MASTERlistcolumn); } } }
private void init_columns() { ListtemplateColumnCollection MASTERlistcolumns = new ListtemplateColumnCollection(); _ListtemplateColumns = new Dictionary <int, ListtemplateColumn>(); foreach (ListtemplateColumn MASTERlistcolumn in MASTERlistcolumns.getAllListtemplateColumns) { if (MASTERlistcolumn.ListNavn_id == _ListNavn_id) { if (!_ListtemplateColumns.ContainsKey(MASTERlistcolumn.Kolonne_id)) { _ListtemplateColumns.Add(MASTERlistcolumn.Kolonne_id, MASTERlistcolumn); } } } }