コード例 #1
0
    public static List <Resource> GetResourcesByProject(Guid gProjectId)
    {
        String          sKey     = GetCacheKeyProjectResources(gProjectId);
        List <Resource> colItems = CollectionCacheManager.FetchAndCache <Resource>(sKey, delegate() { return(ResourceAccess.GetResourcesByProject(gProjectId)); });

        return(colItems);
    }