Generate change database DLL using SDE for eclipse

HI,

My question is?

I have generate change database DLL using SDE for eclipse.

when delete a table or your relationship in DER
after code generated
because not contain “drop contraint foreign key”?

Please help-me.

Kleber

Hi Kleber,

Thanks for your post. When you are going to generate DDL for updating your database from Database Code Generation (select Tools > Object-Relational Mapping (ORM) > Generate Database, and select “Update database”), you can check the option “Include drop table/columns that not exist in ER model”.

If you generate SQL script by right-click on ERD/entities and select Generate SQL, please check the same option in the dialog (see attached image) to generate the drop statements.

Hope this solves your issue. Please let me know if there is anything I can do to help.

Best regards,
Lilian Wong

check_include_drop.png