コード例 #1
0
        public static string DropForeignKey(string integrityDropString)
        {
            IScripting scriptor = Scripting.CreateClass();

            string[] keySplit = integrityDropString.Split(new string[] { "||" }, StringSplitOptions.RemoveEmptyEntries);

            return(scripting.DropForeignKey(Integrity.GetTableSchema(keySplit[0]), keySplit[0], keySplit[1]));
        }
コード例 #2
0
        public static string DropColumn(string schema, string tableName, string columnName)
        {
            IScripting scriptor = Scripting.CreateClass();

            return(scriptor.DropColumn(schema, tableName, columnName));
        }
コード例 #3
0
        public static string DatafieldLength(ColumnObjectModel column)
        {
            IScripting scriptor = Scripting.CreateClass();

            return(scriptor.DatafieldLength(column));
        }
コード例 #4
0
        public static string DatabaseDataType(ColumnObjectModel column)
        {
            IScripting scriptor = Scripting.CreateClass();

            return(scriptor.DatabaseDataType(column));
        }
コード例 #5
0
        public static string DropTable(TableModel table)
        {
            IScripting scriptor = Scripting.CreateClass();

            return(scriptor.DropTable(table));
        }
コード例 #6
0
        public static string BuildForeignKey(TableModel table)
        {
            IScripting scriptor = Scripting.CreateClass();

            return(scriptor.BuildForeignKey(table));
        }
コード例 #7
0
        public static string BuildColumnAlter(string tableName, ColumnObjectModel column)
        {
            IScripting scriptor = Scripting.CreateClass();

            return(scripting.BuildColumnAlter(tableName, column));
        }
コード例 #8
0
        public static string BuildeColumnCreate(string schemaName, string tableName, ColumnObjectModel column)
        {
            IScripting scriptor = Scripting.CreateClass();

            return(scriptor.BuildeColumnCreate(schemaName, tableName, column));
        }