protected override List <HomepageType> GetData() { HomepageTypeFinder finder = new HomepageTypeFinder(); finder.SortExpressions.Add(new AscendingSort(HomepageType.Columns.Description)); return(HomepageType.FindMany(finder)); }
public virtual EntityList <HomepageType> FindMany(HomepageTypeFinder finder, int Page, int PageSize) { return((EntityList <HomepageType>)(base.FindMany(finder, Page, PageSize))); }
public virtual EntityList <HomepageType> FindMany(HomepageTypeFinder finder) { return((EntityList <HomepageType>)(base.FindMany(finder))); }
public virtual HomepageType FindOne(HomepageTypeFinder finder) { IEntity entity = base.FindOne(finder); return((entity == null) ? HomepageType.Empty : entity as HomepageType); }
public static int GetCount(HomepageTypeFinder finder) { return(HomepageTypeMapper.Instance.GetCount(finder)); }
public static HomepageType FindOne(HomepageTypeFinder finder) { HomepageType HomepageType = HomepageTypeMapper.Instance.FindOne(finder); return(HomepageType ?? Empty); }
public static EntityList <HomepageType> FindMany(HomepageTypeFinder finder) { return(HomepageTypeMapper.Instance.FindMany(finder)); }
public static EntityList <HomepageType> FindMany(HomepageTypeFinder finder, int Page, int PageSize) { return(HomepageTypeMapper.Instance.FindMany(finder, Page, PageSize)); }