/// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="field">The field to initialize the relationship from.</param>
 internal RuntimeHasManyRelationship(RuntimeField field) : base(field)
 {
 }
Example #2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="field">The field to initialize the relationship from.</param>
 protected RuntimeRelationship(RuntimeField field)
 {
     Name     = field.Name;
     Options  = field.Options | FieldOptions.Relationship;
     Accessor = field.Accessor;
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="field">The field to initialize the relationship from.</param>
 protected RuntimeRelationship(RuntimeField field) : this(field.Contract, field.Name)
 {
     Options  = field.Options | FieldOptions.Relationship;
     Accessor = field.Accessor;
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="field">The field to initialize the relationship from.</param>
 internal RuntimeHasManyRelationship(RuntimeField field)
     : base(field)
 {
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="field">The field to initialize the relationship from.</param>
 internal RuntimeBelongsToRelationship(RuntimeField field)
     : base(field)
 {
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="field">The field to initialize the relationship from.</param>
 protected RuntimeRelationship(RuntimeField field)
 {
     Name = field.Name;
     Options = field.Options | FieldOptions.Relationship;
     Accessor = field.Accessor;
 }
Example #7
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="field">The field to initialize the relationship from.</param>
 internal RuntimeBelongsToRelationship(RuntimeField field) : base(field)
 {
 }