public RelationAttribute(Type ParentType)
 {
     _ParentType       = ParentType;
     _ParentFields     = null;
     _ChildFields      = null;
     _ParentUpdateRule = ParentUpdate.UpdateCascade;
     _ParentDeleteRule = ParentDelete.DeleteRestrict;
 }
 public RelationAttribute(Type ParentType,
                          string ParentFields, string ChildFields)
 {
     _ParentType       = ParentType;
     _ParentFields     = ParentFields.Split(',');
     _ChildFields      = ChildFields.Split(',');
     _ParentUpdateRule = ParentUpdate.UpdateCascade;
     _ParentDeleteRule = ParentDelete.DeleteRestrict;
 }
 public RelationAttribute(Type ParentType,
                          ParentUpdate ParentUpdateRule,
                          ParentDelete ParentDeleteRule)
 {
     _ParentType       = ParentType;
     _ParentFields     = null;
     _ChildFields      = null;
     _ParentUpdateRule = ParentUpdateRule;
     _ParentDeleteRule = ParentDeleteRule;
 }
 public RelationAttribute(Type ParentType,
                          string ParentFields, string ChildFields,
                          ParentUpdate ParentUpdateRule,
                          ParentDelete ParentDeleteRule)
 {
     _ParentType       = ParentType;
     _ParentFields     = ParentFields.Split(',');
     _ChildFields      = ChildFields.Split(',');
     _ParentUpdateRule = ParentUpdateRule;
     _ParentDeleteRule = ParentDeleteRule;
 }