///<summary> ///</summary> ///<param name="directoryPath">Path to SQL upgrade scripts</param> ///<param name="options">Different options for the file system script provider</param> public FileSystemScriptProvider(string directoryPath, FileSystemScriptOptions options) { if (options == null) { throw new ArgumentNullException("options"); } this.directoryPath = directoryPath; this.filter = options.Filter; this.encoding = options.Encoding; this.options = options; }
///<summary> ///</summary> ///<param name="directoryPath">Path to SQL upgrade scripts</param> ///<param name="options">Different options for the file system script provider</param> public FileSystemScriptProvider(string directoryPath, FileSystemScriptOptions options) : this(directoryPath, options, new SqlScriptOptions()) { }