public OrmStorage( DbContext dbContext, Func <Exception, StorageResult> analyzeException, IAuditVisitor auditVisitor) { this.dbContext = dbContext; this.analyzeException = analyzeException; this.auditVisitor = auditVisitor; }
public OrmStorage( DbContext dbContext, Func <Exception, StorageResult> analyzeException, IAuditVisitor auditVisitor = null) { this.dbContext = dbContext; this.analyzeException = analyzeException; this.auditVisitor = auditVisitor ?? NoAuditVisitor.Singleton; }
public ReliantOrmHandlerGFactory( IRepositoryContainer <TDbContext> repositoryGFactory, IOrmContainer <TDbContext> ormGFactory, IEntityMetaServiceContainer entityMetaServiceContainer, IAuditVisitor auditVisitor, TDbContext dbContext ) { this.dbContext = dbContext; this.auditVisitor = auditVisitor; this.repositoryGFactory = repositoryGFactory; this.ormGFactory = ormGFactory; this.entityMetaServiceContainer = entityMetaServiceContainer; }
public Batch(DbContext context, IAuditVisitor auditVisitor) { this.context = context; this.auditVisitor = auditVisitor; }