Exemple #1
0
        public EntityList <Asset> GetAssetList()
        {
            AssetFinder assetFinder = new AssetFinder();

            assetFinder.AssetIdList.Add(0);

            foreach (LightboxAsset lightboxAsset in GetLightboxAssetList())
            {
                assetFinder.AssetIdList.Add(lightboxAsset.AssetId);
            }

            return(Asset.FindMany(assetFinder));
        }
Exemple #2
0
        public static Asset FindOne(AssetFinder finder)
        {
            Asset Asset = AssetMapper.Instance.FindOne(finder);

            return(Asset ?? Empty);
        }
Exemple #3
0
 public static int GetCount(AssetFinder finder)
 {
     return(AssetMapper.Instance.GetCount(finder));
 }
Exemple #4
0
 public static EntityList <Asset> FindMany(AssetFinder finder)
 {
     return(AssetMapper.Instance.FindMany(finder));
 }
Exemple #5
0
 public static EntityList <Asset> FindMany(AssetFinder finder, int Page, int PageSize)
 {
     return(AssetMapper.Instance.FindMany(finder, Page, PageSize));
 }
Exemple #6
0
 public virtual EntityList <Asset> FindMany(AssetFinder finder, int Page, int PageSize)
 {
     return((EntityList <Asset>)(base.FindMany(finder, Page, PageSize)));
 }
Exemple #7
0
 public virtual EntityList <Asset> FindMany(AssetFinder finder)
 {
     return((EntityList <Asset>)(base.FindMany(finder)));
 }
Exemple #8
0
        public virtual Asset FindOne(AssetFinder finder)
        {
            IEntity entity = base.FindOne(finder);

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