public MainContext(string connectionString) : base(connectionString) { Configuration.LazyLoadingEnabled = true; Configuration.ProxyCreationEnabled = true; _auditLogger = new AuditTrailHandler(GetTypesToExcludeInAudit(), this); }
public MainContext() : base("name=Pfizer") { Configuration.LazyLoadingEnabled = true; Configuration.ProxyCreationEnabled = true; _auditLogger = new AuditTrailHandler(GetTypesToExcludeInAudit(), this); }