/// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="field">The field to initialize the relationship from.</param>
 internal RuntimeHasManyRelationship(RuntimeField field) : base(field)
 {
 }
Пример #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)
 {
 }
Пример #6
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;
 }
Пример #7
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="field">The field to initialize the relationship from.</param>
 internal RuntimeBelongsToRelationship(RuntimeField field) : base(field)
 {
 }