public override EntityList GetByParentId(object pId, PagingInfo paging = null, EagerLoadOptions eagerLoad = null) { int parentId = (int)pId; var list = new ViewConfigurationPropertyList(); var evm = ViewConfigurationModel.GetEVMByParentId(parentId); foreach (var p in evm.OrderedEntityProperties()) { var m = new ViewConfigurationProperty(); m.Id = RafyEnvironment.NewLocalId(); m.ViewConfigurationModelId = parentId; m.Name = p.Name; m.Label = p.Label ?? p.Name; m.ShowInWhere = (PropertyShowInWhere)p.ShowInWhere; m.OrderNo = p.OrderNo; list.Add(m); } return(list); }
public int IndexOf(ViewConfigurationProperty entity) { return(base.IndexOf(entity)); }
public void Insert(int index, ViewConfigurationProperty entity) { base.Insert(index, entity); }
public void Add(ViewConfigurationProperty entity) { base.Add(entity); }
public bool Contains(ViewConfigurationProperty entity) { return(base.Contains(entity)); }
public int IndexOf(ViewConfigurationProperty entity) { return base.IndexOf(entity); }
public bool Remove(ViewConfigurationProperty entity) { return(base.Remove(entity)); }
public bool Contains(ViewConfigurationProperty entity) { return base.Contains(entity); }
public bool Remove(ViewConfigurationProperty entity) { return base.Remove(entity); }
public override EntityList GetByParentId(object pId, PagingInfo paging = null, EagerLoadOptions eagerLoad = null) { int parentId = (int)pId; var list = new ViewConfigurationPropertyList(); var evm = ViewConfigurationModel.GetEVMByParentId(parentId); foreach (var p in evm.OrderedEntityProperties()) { var m = new ViewConfigurationProperty(); m.Id = RafyEnvironment.NewLocalId(); m.ViewConfigurationModelId = parentId; m.Name = p.Name; m.Label = p.Label ?? p.Name; m.ShowInWhere = (PropertyShowInWhere)p.ShowInWhere; m.OrderNo = p.OrderNo; list.Add(m); } return list; }