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