/// <summary> /// Initializes a new instance of the <see cref="RelationshipTypeAnnotation"/> class. /// </summary> /// <param name="relationshipType">The <see cref="RelationshipType"/> associated with the /// <see cref="AssociationSet"/> to which this <see cref="RelationshipTypeAnnotation"/> is applied.</param> public RelationshipTypeAnnotation(RelationshipType relationshipType) { ExceptionUtilities.Assert(relationshipType != null, "The Relationship argument to the RelationshipAnnotation constructor should never be null."); this.RelationshipType = relationshipType; }
/// <summary> /// Initializes a new instance of the <see cref="RelationshipTypeAnnotation"/> class. /// </summary> /// <param name="relationshipType">The <see cref="RelationshipType"/> associated with the /// <see cref="AssociationSet"/> to which this <see cref="RelationshipTypeAnnotation"/> is applied.</param> public RelationshipTypeAnnotation(RelationshipType relationshipType) { ExceptionUtilities.Assert(relationshipType != null, "The Relationship argument to the RelationshipAnnotation constructor should never be null."); this.RelationshipType = relationshipType; }