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)); }
public static Asset FindOne(AssetFinder finder) { Asset Asset = AssetMapper.Instance.FindOne(finder); return(Asset ?? Empty); }
public static int GetCount(AssetFinder finder) { return(AssetMapper.Instance.GetCount(finder)); }
public static EntityList <Asset> FindMany(AssetFinder finder) { return(AssetMapper.Instance.FindMany(finder)); }
public static EntityList <Asset> FindMany(AssetFinder finder, int Page, int PageSize) { return(AssetMapper.Instance.FindMany(finder, Page, PageSize)); }
public virtual EntityList <Asset> FindMany(AssetFinder finder, int Page, int PageSize) { return((EntityList <Asset>)(base.FindMany(finder, Page, PageSize))); }
public virtual EntityList <Asset> FindMany(AssetFinder finder) { return((EntityList <Asset>)(base.FindMany(finder))); }
public virtual Asset FindOne(AssetFinder finder) { IEntity entity = base.FindOne(finder); return((entity == null) ? Asset.Empty : entity as Asset); }