Chili.Opf3 Send comments on this topic.
PersistRelationship Property
See Also 
Chili.Opf3.Relations Namespace > RelationAttribute Class : PersistRelationship Property




Specifies the PersistRelationship between two persistent objects. This flag is only necessary when creating a 1:1 relation. It specifies which object is saved first (the parent or the child object). Default is ParentFirst.

Syntax

Visual Basic (Declaration) 
Public Property PersistRelationship As PersistRelationships
Visual Basic (Usage)Copy Code
Dim instance As RelationAttribute
Dim value As PersistRelationships
 
instance.PersistRelationship = value
 
value = instance.PersistRelationship
C# 
public PersistRelationships PersistRelationship {get; set;}
Managed Extensions for C++ 
public: __property PersistRelationships get_PersistRelationship();
public: __property void set_PersistRelationship( 
   PersistRelationships value
);
C++/CLI 
public:
property PersistRelationships PersistRelationship {
   PersistRelationships get();
   void set (PersistRelationships value);
}

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also