Hello Ricci, what foreign keys do you mean? If you mean FKs that are created by DataObjects.Net, then the answer is no. DataObjects.Net would not create any objects outside schema(s) controlled by it. If you mean some other FKs that could be created manually, then it's definitely possible. However if FK is attached to the table that is controlled by DataObjects.Net such key would be removed in the next database upgrade. You could still create FK that is associated with some external table (not managed by DataObjects.Net) and references table that is DO-managed. Such constraint would work. However since DataObjects.Net would be unaware of this external FK, it would be impossible to drop this table or change the referenced columns. |