예제 #1
0
        protected override List <HomepageType> GetData()
        {
            HomepageTypeFinder finder = new HomepageTypeFinder();

            finder.SortExpressions.Add(new AscendingSort(HomepageType.Columns.Description));
            return(HomepageType.FindMany(finder));
        }
예제 #2
0
 public virtual EntityList <HomepageType> FindMany(HomepageTypeFinder finder, int Page, int PageSize)
 {
     return((EntityList <HomepageType>)(base.FindMany(finder, Page, PageSize)));
 }
예제 #3
0
 public virtual EntityList <HomepageType> FindMany(HomepageTypeFinder finder)
 {
     return((EntityList <HomepageType>)(base.FindMany(finder)));
 }
예제 #4
0
        public virtual HomepageType FindOne(HomepageTypeFinder finder)
        {
            IEntity entity = base.FindOne(finder);

            return((entity == null) ? HomepageType.Empty : entity as HomepageType);
        }
예제 #5
0
 public static int GetCount(HomepageTypeFinder finder)
 {
     return(HomepageTypeMapper.Instance.GetCount(finder));
 }
예제 #6
0
        public static HomepageType FindOne(HomepageTypeFinder finder)
        {
            HomepageType HomepageType = HomepageTypeMapper.Instance.FindOne(finder);

            return(HomepageType ?? Empty);
        }
예제 #7
0
 public static EntityList <HomepageType> FindMany(HomepageTypeFinder finder)
 {
     return(HomepageTypeMapper.Instance.FindMany(finder));
 }
예제 #8
0
 public static EntityList <HomepageType> FindMany(HomepageTypeFinder finder, int Page, int PageSize)
 {
     return(HomepageTypeMapper.Instance.FindMany(finder, Page, PageSize));
 }