6 namespace Deveel.Data.Mapping {
7 [AttributeUsage(AttributeTargets.Class | AttributeTargets.Field | AttributeTargets.Property)]
11 ConstraintName = name;
12 ReferencedType = referencedType;
18 : this(null, referencedType, onUpdate, onDelete) {
26 : this(null, referencedType) {
31 ReferencedType = referencedType;
32 ReferencedMember = referencedMember;
36 ConstraintName = name;
37 ReferencedMember = referencedMember;
40 public string ConstraintName {
get; set; }
42 public Type ReferencedType {
get;
private set; }
44 public string ReferencedMember {
get;
private set; }
ForeignKeyAttribute(string name, Type referencedType)
ForeignKeyAttribute(Type referencedType, ForeignKeyAction onUpdate, ForeignKeyAction onDelete)
ForeignKeyAttribute(Type referencedType)
ForeignKeyAttribute(Type referencedType, string referencedMember)
ForeignKeyAction
Enumerates the foreign key referential trigger actions.
ForeignKeyAttribute(string name, string referencedMember)
A user-defined TYPE that holds complex objects in a database column.
ForeignKeyAttribute(string name, Type referencedType, ForeignKeyAction onUpdate, ForeignKeyAction onDelete)