/// <summary> /// Deprecated Method for adding a new object to the RelationshipTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRelationshipTypes(RelationshipType relationshipType) { base.AddObject("RelationshipTypes", relationshipType); }
/// <summary> /// Create a new RelationshipType object. /// </summary> /// <param name="relationshipTypeID">Initial value of the RelationshipTypeID property.</param> public static RelationshipType CreateRelationshipType(global::System.Int32 relationshipTypeID) { RelationshipType relationshipType = new RelationshipType(); relationshipType.RelationshipTypeID = relationshipTypeID; return relationshipType; }