Esempio n. 1
0
        public IDbScript GetScript(IDbObjectFactory dbFactory)
        {
            var script = dbFactory.BuildScript();

            UpdateScript(Root, script, dbFactory);

            return(script);
        }
Esempio n. 2
0
        public IDbScript GetScript(IDbObjectFactory dbFactory)
        {
            var script = dbFactory.BuildScript();

            script.PreScripts.AddRange(_preScripts);

            var dbSelect = GetLastSelect();

            script.Scripts.Add(dbSelect);

            script.PostScripts.AddRange(_postScripts);

            return(script);
        }