Print Page | Close Window

Compositions

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=2305
Printed Date: 15-Jun-2026 at 5:03pm


Topic: Compositions
Posted By: antonio_sergio
Subject: Compositions
Date Posted: 15-Nov-2010 at 2:30am
Hello,
 
I'm creating an entity Master / Details and I want mark the relationship as a composition.
My problem is I can not enter the [Composition] attribute in my class.
 
 
By adding the reference "System.ServiceModel.DomainServices.Server" can not compile the code on the client side.
 
What am I doing wrong??
 
 
Regards,
Sérgio Magalhães



Replies:
Posted By: sbelini
Date Posted: 15-Nov-2010 at 5:13pm
Hi Sergio,
 
Unfortunatelly, DevForce does not explicitly support the Composition distinction. (i.e. there is no mechanism provided to mark the Marca_Modelo navigation property as a “Composition”)
 
Yet, we can still accomplish this behavior in DevForce programmatically.
 
Please refer to our http://drc.ideablade.com/xwiki/bin/view/Documentation/Saving_DependencyGraph#HCompositions - DevForce Support Center  for further details.
 
sbelini.



Print Page | Close Window