I use sql server/oracle/firebird,I offten convert tablen structs with different database.
So I think If TUniMeta MetaDataKind support DataType Names(Only DataType ID is very trouble!) ,I will Create Table SQL and convert table structs very easy!
TUniMeta MetaDataKind dont support DataType!
Constraints of MetaDataKind can not support foreign key detail infomation.
such as foreign key SQL:
ALTER TABLE ORDERFORM ADD FOREIGN KEY (WAREHOUSEID) REFERENCES WAREHOUSE (WAREHOUSEID) ON DELETE SET NULL ON UPDATE CASCADE;
TUniMeta dont support REFERENCES TableName and FieldName and CASCADE!
I think you can expand Constraints of MetaDataKind,Add New Field Name :
REFERENCES_TABLENAME And REFERENCES_Columns and CASCADE, Dont Use new MetaDataKind !
such as foreign key SQL:
ALTER TABLE ORDERFORM ADD FOREIGN KEY (WAREHOUSEID) REFERENCES WAREHOUSE (WAREHOUSEID) ON DELETE SET NULL ON UPDATE CASCADE;
TUniMeta dont support REFERENCES TableName and FieldName and CASCADE!
I think you can expand Constraints of MetaDataKind,Add New Field Name :
REFERENCES_TABLENAME And REFERENCES_Columns and CASCADE, Dont Use new MetaDataKind !
-
AndreyZ