Example #1
0
        protected override List <Brand> GetData()
        {
            BrandFinder finder = new BrandFinder();

            finder.SortExpressions.Add(new AscendingSort(Brand.Columns.Name));
            return(Brand.FindMany(finder));
        }
Example #2
0
 public virtual EntityList <Brand> FindMany(BrandFinder finder, int Page, int PageSize)
 {
     return((EntityList <Brand>)(base.FindMany(finder, Page, PageSize)));
 }
Example #3
0
 public virtual EntityList <Brand> FindMany(BrandFinder finder)
 {
     return((EntityList <Brand>)(base.FindMany(finder)));
 }
Example #4
0
        public virtual Brand FindOne(BrandFinder finder)
        {
            IEntity entity = base.FindOne(finder);

            return((entity == null) ? Brand.Empty : entity as Brand);
        }
Example #5
0
 public static int GetCount(BrandFinder finder)
 {
     return(BrandMapper.Instance.GetCount(finder));
 }
Example #6
0
        public static Brand FindOne(BrandFinder finder)
        {
            Brand Brand = BrandMapper.Instance.FindOne(finder);

            return(Brand ?? Empty);
        }
Example #7
0
 public static EntityList <Brand> FindMany(BrandFinder finder)
 {
     return(BrandMapper.Instance.FindMany(finder));
 }
Example #8
0
 public static EntityList <Brand> FindMany(BrandFinder finder, int Page, int PageSize)
 {
     return(BrandMapper.Instance.FindMany(finder, Page, PageSize));
 }