示例#1
0
 protected AbstractEntityRepository(ProviderMetadata providerMetadata, IProviderTransaction providerTransaction, IFrameworkContext frameworkContext)
     : base(providerMetadata, frameworkContext)
 {
     Transaction = providerTransaction;
     Revisions   = new NullProviderRevisionRepository <TypedEntity>(providerMetadata, frameworkContext);
     Schemas     = new NullProviderSchemaRepository(providerMetadata, frameworkContext);
 }
示例#2
0
 protected AbstractReadonlyEntityRepository(ProviderMetadata providerMetadata, IFrameworkContext frameworkContext)
     : base(providerMetadata, frameworkContext)
 {
     Revisions = new NullProviderRevisionRepository <TypedEntity>(providerMetadata, frameworkContext);
     EntitiesAddedOrUpdated = new HashSet <IRelatableEntity>();
 }