Пример #1
0
        public TemplateBasedApplier(
            TextWriter writer,
            IDbmsSyntax syntax,
            string changeLogTableName,
            string delimiter,
            IDelimiterType delimiterType,
            DirectoryInfo templateDirectory)
        {
            if (writer == null)
            {
                throw new ArgumentNullException("writer");
            }

            if (syntax == null)
            {
                throw new ArgumentNullException("syntax");
            }

            this.writer             = writer;
            this.syntax             = syntax;
            this.delimiter          = delimiter;
            this.changeLogTableName = changeLogTableName;

            this.delimiterType = delimiterType ?? new NormalDelimiter();

            this.templateDirectory = templateDirectory;
        }
 public UndoTemplateBasedApplier(
     TextWriter writer,
     IDbmsSyntax syntax,
     string changeLogTableName,
     string delimiter,
     IDelimiterType delimiterType,
     DirectoryInfo templateDirectory)
     : base(writer, syntax, changeLogTableName, delimiter, delimiterType, templateDirectory)
 {
 }
 public UndoTemplateBasedApplier(
     TextWriter writer,
     string syntax,
     string changeLogTableName,
     string delimiter,
     IDelimiterType delimiterType,
     DirectoryInfo templateDirectory)
     : base(writer, syntax, changeLogTableName, delimiter, delimiterType, templateDirectory)
 {
 }
        public TemplateBasedApplier(
            TextWriter writer,
            IDbmsSyntax syntax,
            string changeLogTableName,
            string delimiter,
            IDelimiterType delimiterType,
            DirectoryInfo templateDirectory)
        {
            if (writer == null)
                throw new ArgumentNullException("writer");

            if (syntax == null)
                throw new ArgumentNullException("syntax");

            this.writer = writer;
            this.syntax = syntax;
            this.delimiter = delimiter;
            this.changeLogTableName = changeLogTableName;

            this.delimiterType = delimiterType ?? new NormalDelimiter();
            
            this.templateDirectory = templateDirectory;
        }