Chili.Opf3 Send comments on this topic.
PersistRelationships Enumeration
See Also  
Chili.Opf3.Relations Namespace : PersistRelationships Enumeration




Specifies the relationship the child objects and its parent object. It specifies which one is saved first.

Syntax

Visual Basic (Declaration) 
Public Enum PersistRelationships 
   Inherits Enum
Visual Basic (Usage)Copy Code
Dim instance As PersistRelationships
C# 
public enum PersistRelationships : Enum 
Managed Extensions for C++ 
__value public enum PersistRelationships : public Enum 
C++/CLI 
public enum class PersistRelationships : public Enum 

Members

MemberDescription
ParentFirst Applying this member means that the child object holds a foreign key to the owner object.
ChildFirst Applying this member means the owner object holds a foreign key to the child object.

Remarks

PersistRelationship specifies the relationship the child objects and its parent object. This enumeration is only used in the RelationAttribute to specify the direction of the relation in 1:1 relations. For 1:n it is not required to use this enumeration.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Chili.Opf3.Relations.PersistRelationships

Requirements

Namespace: Chili.Opf3.Relations

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Chili.Opf3 (in Chili.Opf3.dll)

See Also