Ejemplo n.º 1
0
 /// <summary>
 /// construct a Relationship End
 /// </summary>
 /// <param name="relationship"></param>
 public RelationshipEnd(Relationship relationship)
     : base(relationship)
 {
 }
 /// <summary>
 /// construct a Referential constraint
 /// </summary>
 /// <param name="relationship"></param>
 public ReferentialConstraint(Relationship relationship)
     : base(relationship)
 {
 }
 /// <summary>
 /// construct a Relationship End
 /// </summary>
 /// <param name="relationship"></param>
 public RelationshipEnd(Relationship relationship)
     : base(relationship)
 {
 }
Ejemplo n.º 4
0
        /// <summary>
        /// Handler for the Association element
        /// </summary>
        /// <param name="reader">xml reader currently positioned at Association element</param>
        private void HandleAssociationElement(XmlReader reader)
        {
            Debug.Assert(reader != null);

            Relationship relationship = new Relationship(this, RelationshipKind.Association);

            relationship.Parse(reader);

            TryAddType(relationship, true/*doNotAddErrorForEmptyName*/);
        }
Ejemplo n.º 5
0
 /// <summary>
 /// construct a Referential constraint
 /// </summary>
 /// <param name="relationship"></param>
 public ReferentialConstraint(Relationship relationship)
     : base(relationship)
 {
 }