예제 #1
0
        public static IDbScriptBuilder CreateScript(string dbTypename)
        {
            string typeName = "Maticsoft.DbObjects." + dbTypename + ".DbScriptBuilder";
            object obj      = DBOMaker.CreateObject("Maticsoft.DbObjects", typeName);

            return((IDbScriptBuilder)obj);
        }
예제 #2
0
        public static IDbObject CreateDbObj(string dbTypename)
        {
            string typeName = "Maticsoft.DbObjects." + dbTypename + ".DbObject";
            object obj      = DBOMaker.CreateObject("Maticsoft.DbObjects", typeName);

            return((IDbObject)obj);
        }