Is it possible to have something like this:
1) Table Contacts (entity Contact)
2) Table Suppliers (Entity Supplier)
3) Supplier inherits from Contact
Now I can add a Contact "Erik".
I can add a Supplier "Telerik". This will generate a discriminator value in contact.
Q: Can I make "Erik" a supplier? So:
Contact = GetContact(1) (=
S.ContactId = C.ContactId
If I try this with my model, I get an error about the discriminator value; so, OA thinks retrieving the Suppliers is an error because of this.
Is the only solution a FK? (No inhertiance and using Supplier.Contact.Name)