Exemplo n.º 1
0
        protected override List <AssetImageSize> GetData()
        {
            AssetImageSizeFinder        finder = new AssetImageSizeFinder();
            EntityList <AssetImageSize> list   = AssetImageSize.FindMany(finder);

            AssetImageSize ais = AssetImageSize.New();

            ais.AssetImageSizeId = 0;
            ais.Description      = "Original";
            list.Insert(0, ais);

            return(list);
        }
 public virtual EntityList <AssetImageSize> FindMany(AssetImageSizeFinder finder, int Page, int PageSize)
 {
     return((EntityList <AssetImageSize>)(base.FindMany(finder, Page, PageSize)));
 }
        public virtual AssetImageSize FindOne(AssetImageSizeFinder finder)
        {
            IEntity entity = base.FindOne(finder);

            return((entity == null) ? AssetImageSize.Empty : entity as AssetImageSize);
        }
Exemplo n.º 4
0
 public static int GetCount(AssetImageSizeFinder finder)
 {
     return(AssetImageSizeMapper.Instance.GetCount(finder));
 }
Exemplo n.º 5
0
        public static AssetImageSize FindOne(AssetImageSizeFinder finder)
        {
            AssetImageSize AssetImageSize = AssetImageSizeMapper.Instance.FindOne(finder);

            return(AssetImageSize ?? Empty);
        }
Exemplo n.º 6
0
 public static EntityList <AssetImageSize> FindMany(AssetImageSizeFinder finder)
 {
     return(AssetImageSizeMapper.Instance.FindMany(finder));
 }