public DBAndFileAuditTrailWriter(DBSQLViewModel dBSQLViewModel, string outputFile, bool DebugOutput = true) { _dBSQLViewModel = dBSQLViewModel; IsDB = AuditTrailWriterHelper.CreateTable(_dBSQLViewModel); if (!string.IsNullOrEmpty(outputFile)) { fileAuditTrailWriter = new FileAuditTrailWriter(outputFile, DebugOutput); } ; this.outputFile = outputFile ?? null; this.DebugOutput = DebugOutput; }
public DBAuditTrailWriter(DBSQLViewModel dBSQLViewModel, bool DebugOutput = true) { _dBSQLViewModel = dBSQLViewModel; AuditTrailWriterHelper.CreateTable(_dBSQLViewModel); this.DebugOutput = DebugOutput; }