DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Properties | List of all members
Deveel.Data.Mapping.ForeignKeyAttribute Class Reference
Inheritance diagram for Deveel.Data.Mapping.ForeignKeyAttribute:
Deveel.Data.Mapping.INamedConstraint

Public Member Functions

 ForeignKeyAttribute (string name, Type referencedType, ForeignKeyAction onUpdate, ForeignKeyAction onDelete)
 
 ForeignKeyAttribute (Type referencedType, ForeignKeyAction onUpdate, ForeignKeyAction onDelete)
 
 ForeignKeyAttribute (string name, Type referencedType)
 
 ForeignKeyAttribute (Type referencedType)
 
 ForeignKeyAttribute (Type referencedType, string referencedMember)
 
 ForeignKeyAttribute (string name, string referencedMember)
 

Properties

string ConstraintName [get, set]
 
Type ReferencedType [get, private set]
 
string ReferencedMember [get, private set]
 
ForeignKeyAction OnUpdate [get, set]
 
ForeignKeyAction OnDelete [get, set]
 
- Properties inherited from Deveel.Data.Mapping.INamedConstraint
string ConstraintName [get]
 

Detailed Description

Definition at line 8 of file ForeignKeyAttribute.cs.

Constructor & Destructor Documentation

Deveel.Data.Mapping.ForeignKeyAttribute.ForeignKeyAttribute ( string  name,
Type  referencedType,
ForeignKeyAction  onUpdate,
ForeignKeyAction  onDelete 
)
inline

Definition at line 10 of file ForeignKeyAttribute.cs.

Deveel.Data.Mapping.ForeignKeyAttribute.ForeignKeyAttribute ( Type  referencedType,
ForeignKeyAction  onUpdate,
ForeignKeyAction  onDelete 
)
inline

Definition at line 17 of file ForeignKeyAttribute.cs.

18  : this(null, referencedType, onUpdate, onDelete) {
19  }
Deveel.Data.Mapping.ForeignKeyAttribute.ForeignKeyAttribute ( string  name,
Type  referencedType 
)
inline

Definition at line 21 of file ForeignKeyAttribute.cs.

22  : this(name, referencedType, ForeignKeyAction.Cascade, ForeignKeyAction.Cascade) {
23  }
ForeignKeyAction
Enumerates the foreign key referential trigger actions.
Deveel.Data.Mapping.ForeignKeyAttribute.ForeignKeyAttribute ( Type  referencedType)
inline

Definition at line 25 of file ForeignKeyAttribute.cs.

26  : this(null, referencedType) {
27  }
Deveel.Data.Mapping.ForeignKeyAttribute.ForeignKeyAttribute ( Type  referencedType,
string  referencedMember 
)
inline

Definition at line 30 of file ForeignKeyAttribute.cs.

30  {
31  ReferencedType = referencedType;
32  ReferencedMember = referencedMember;
33  }
Deveel.Data.Mapping.ForeignKeyAttribute.ForeignKeyAttribute ( string  name,
string  referencedMember 
)
inline

Definition at line 35 of file ForeignKeyAttribute.cs.

Property Documentation

string Deveel.Data.Mapping.ForeignKeyAttribute.ConstraintName
getset

Definition at line 40 of file ForeignKeyAttribute.cs.

ForeignKeyAction Deveel.Data.Mapping.ForeignKeyAttribute.OnDelete
getset

Definition at line 48 of file ForeignKeyAttribute.cs.

ForeignKeyAction Deveel.Data.Mapping.ForeignKeyAttribute.OnUpdate
getset

Definition at line 46 of file ForeignKeyAttribute.cs.

string Deveel.Data.Mapping.ForeignKeyAttribute.ReferencedMember
getprivate set

Definition at line 44 of file ForeignKeyAttribute.cs.

Type Deveel.Data.Mapping.ForeignKeyAttribute.ReferencedType
getprivate set

Definition at line 42 of file ForeignKeyAttribute.cs.


The documentation for this class was generated from the following file: