Пример #1
0
        public EntityList <LightboxAsset> GetLightboxAssetList()
        {
            LightboxAssetFinder finder = new LightboxAssetFinder {
                LightboxId = LightboxId.GetValueOrDefault(-1)
            };

            return(LightboxAsset.FindMany(finder));
        }
Пример #2
0
        public static LightboxAsset FindOne(LightboxAssetFinder finder)
        {
            LightboxAsset LightboxAsset = LightboxAssetMapper.Instance.FindOne(finder);

            return(LightboxAsset ?? Empty);
        }
Пример #3
0
 public static int GetCount(LightboxAssetFinder finder)
 {
     return(LightboxAssetMapper.Instance.GetCount(finder));
 }
Пример #4
0
 public static EntityList <LightboxAsset> FindMany(LightboxAssetFinder finder)
 {
     return(LightboxAssetMapper.Instance.FindMany(finder));
 }
Пример #5
0
 public static EntityList <LightboxAsset> FindMany(LightboxAssetFinder finder, int Page, int PageSize)
 {
     return(LightboxAssetMapper.Instance.FindMany(finder, Page, PageSize));
 }
 public virtual EntityList <LightboxAsset> FindMany(LightboxAssetFinder finder, int Page, int PageSize)
 {
     return((EntityList <LightboxAsset>)(base.FindMany(finder, Page, PageSize)));
 }
 public virtual EntityList <LightboxAsset> FindMany(LightboxAssetFinder finder)
 {
     return((EntityList <LightboxAsset>)(base.FindMany(finder)));
 }
        public virtual LightboxAsset FindOne(LightboxAssetFinder finder)
        {
            IEntity entity = base.FindOne(finder);

            return((entity == null) ? LightboxAsset.Empty : entity as LightboxAsset);
        }