Qualifiers on dbRelationships would be really nice. The only way to do this right now is to overload the assessor methods. It would be really nice if it where modeled in and if the add methods would run the qualifier and throw an exception if the added object entity did not comply.
Zissis Trabaris * Chief Technology Officer * INSYSWARE * 3235 West River Road, Grand Island, New York, 14072, USA Mobile (716) 930-5654 * Office (518) 636-4118 * Fax (716) 625-1305 * [email protected] * www.insysware.com CONFIDENTIALITY: This email (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you received this email in error, please notify the sender and delete this email from your system. Thank you. -----Original Message----- From: Aristedes Maniatis [mailto:[email protected]] Sent: Monday, January 11, 2010 2:57 AM To: [email protected] Subject: Re: Mapping fake FKs as relationships? On 11/01/10 12:21 PM, Aristedes Maniatis wrote: > Do you think this is achievable? Andrus, I know you've looked at > vertical inheritance... do you think this would be a natural extension > of that work, or quite different? Thinking about this a bit more (it actually solves a problem I have right now): maybe my introduction of the interface idea is a red-herring. That could be useful, but isn't really the core of the problem. Instead, what we need are qualifiers on db_Relationships. We already have a very similar idea in inheritance. Let me know if you want me to flesh out the idea in more detail, or if it is obvious from what I've mentioned so far how it might work. Ari -- --------------------------> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
