public EntityRepositorySingle(IOrganizationService orgService, IRetryExecutor retryExecutor, IEntityMetadataCache entMetadataCache, RepositoryCachingMode cachingMode)
     : base(orgService, retryExecutor, entMetadataCache, cachingMode)
 {
 }
Exemplo n.º 2
0
 public EntityRepository(IOrganizationService orgService, IRetryExecutor retryExecutor, IEntityMetadataCache entMetadataCache, RepositoryCachingMode cachingMode = RepositoryCachingMode.None)
 {
     this.orgService     = orgService;
     this.retryExecutor  = retryExecutor;
     this.metadataCache  = entMetadataCache;
     this.mapLookupCache = cachingMode == RepositoryCachingMode.Lookup ? new EntityMapLookupCache(orgService) : null;
 }
 public EntityRepositorySingle(IOrganizationService orgService, IRetryExecutor retryExecutor, RepositoryCachingMode cachingMode)
     : this(orgService, retryExecutor, new EntityMetadataCache(orgService), cachingMode)
 {
 }
Exemplo n.º 4
0
 public EntityRepositorySingleTests(RepositoryCachingMode cachingMode)
 {
     this.cachingMode = cachingMode;
 }