public ScriptGenerator(string serverName, string dbName, string username, string password, bool integrated, string outputDir)
        {
            OutputDir = outputDir;

            data = new ScriptGeneratorData
            {
                ServerName = serverName,
                DbName     = dbName,
                Username   = username,
                Password   = password,
                Integrated = integrated
            };

            ObjectList.Add(new Trigger());
            ObjectList.Add(new Function());
            ObjectList.Add(new Proc());
        }
Beispiel #2
0
        public ScriptGenerator( string serverName, string dbName, string username, string password, bool integrated ,string outputDir)
        {
            OutputDir = outputDir;

            data = new ScriptGeneratorData
            {
                ServerName = serverName,
                DbName = dbName,
                Username = username,
                Password = password,
                Integrated = integrated
            };

            ObjectList.Add(new Trigger());
            ObjectList.Add(new Function());
            ObjectList.Add(new Proc());
            ObjectList.Add(new View());
        }