//public EntityRepositoryFactory(ProviderMetadata providerMetadata, 
        //    ProviderRevisionSessionFactory<TypedEntity> revisionRepositoryFactory, 
        //    ProviderSchemaSessionFactory schemaRepositoryFactory,
        //    IFrameworkContext frameworkContext, global::NHibernate.Cfg.Configuration nhConfig)
        //    : base(providerMetadata, revisionRepositoryFactory, schemaRepositoryFactory, frameworkContext)
        //{
        //    Helper = new NhFactoryHelper(nhConfig, null, false, false, frameworkContext);
        //}

        public EntityRepositoryFactory(ProviderMetadata providerMetadata,
            AbstractRevisionRepositoryFactory<TypedEntity> revisionRepositoryFactory,
            AbstractSchemaRepositoryFactory schemaRepositoryFactory,
            IFrameworkContext frameworkContext, ProviderDependencyHelper dependencyHelper)
            : base(providerMetadata, revisionRepositoryFactory, schemaRepositoryFactory, frameworkContext, dependencyHelper)
        {
        }
Example #2
0
 protected AbstractReadonlySchemaRepositoryFactory(
     ProviderMetadata providerMetadata,
     AbstractReadonlyRevisionRepositoryFactory <EntitySchema> revisionRepositoryFactory,
     IFrameworkContext frameworkContext,
     ProviderDependencyHelper dependencyHelper)
     : base(providerMetadata, frameworkContext, dependencyHelper)
 {
     RevisionRepositoryFactory = revisionRepositoryFactory;
 }
 protected AbstractEntityRepositoryFactory(
     ProviderMetadata providerMetadata,
     AbstractRevisionRepositoryFactory <TypedEntity> revisionRepositoryFactory,
     AbstractSchemaRepositoryFactory schemaRepositoryFactory,
     IFrameworkContext frameworkContext,
     ProviderDependencyHelper dependencyHelper)
     : base(providerMetadata, schemaRepositoryFactory, revisionRepositoryFactory, frameworkContext, dependencyHelper)
 {
     RevisionRepositoryFactory = revisionRepositoryFactory;
     SchemaRepositoryFactory   = schemaRepositoryFactory;
 }
Example #4
0
 protected AbstractReadonlyRepositoryFactory(ProviderMetadata providerMetadata, IFrameworkContext frameworkContext, ProviderDependencyHelper dependencyHelper)
 {
     ProviderMetadata = providerMetadata;
     FrameworkContext = frameworkContext;
     DependencyHelper = dependencyHelper;
 }
Example #5
0
 protected AbstractRevisionRepositoryFactory(ProviderMetadata providerMetadata, IFrameworkContext frameworkContext, ProviderDependencyHelper dependencyHelper)
     : base(providerMetadata, frameworkContext, dependencyHelper)
 {
 }