예제 #1
0
        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);
        }
예제 #2
0
 public int IndexOf(ViewConfigurationProperty entity)
 {
     return(base.IndexOf(entity));
 }
예제 #3
0
 public void Insert(int index, ViewConfigurationProperty entity)
 {
     base.Insert(index, entity);
 }
예제 #4
0
 public void Add(ViewConfigurationProperty entity)
 {
     base.Add(entity);
 }
예제 #5
0
 public bool Contains(ViewConfigurationProperty entity)
 {
     return(base.Contains(entity));
 }
예제 #6
0
 public int IndexOf(ViewConfigurationProperty entity)
 {
     return base.IndexOf(entity);
 }
예제 #7
0
 public bool Remove(ViewConfigurationProperty entity)
 {
     return(base.Remove(entity));
 }
예제 #8
0
 public bool Contains(ViewConfigurationProperty entity)
 {
     return base.Contains(entity);
 }
예제 #9
0
 public void Add(ViewConfigurationProperty entity)
 {
     base.Add(entity);
 }
예제 #10
0
 public bool Remove(ViewConfigurationProperty entity)
 {
     return base.Remove(entity);
 }
예제 #11
0
 public void Insert(int index, ViewConfigurationProperty entity)
 {
     base.Insert(index, entity);
 }
예제 #12
0
        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;
        }