Пример #1
0
 public BaselineCommand()
 {
     _databaseFeature         = Enable <DatabaseFeature>();
     _usernamePasswordFeature = Enable <UsernamePasswordFeature>();
     _scriptRootFeature       = Enable <ScriptRootFeature>();
     _loggingFeature          = Enable <LoggingFeature>();
 }
Пример #2
0
        public UpdateCommand()
        {
            _databaseFeature         = Enable <DatabaseFeature>();
            _usernamePasswordFeature = Enable <UsernamePasswordFeature>();
            _scriptRootFeature       = Enable <ScriptRootFeature>();
            _defineVariablesFeature  = Enable <DefineVariablesFeature>();

            Options.Add("no-create", "If the database does not already exist, do not attempt to create it", v => _createIfMissing = false);

            _loggingFeature = Enable <LoggingFeature>();
        }