コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the RelationshipTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRelationshipTypes(RelationshipType relationshipType)
 {
     base.AddObject("RelationshipTypes", relationshipType);
 }
コード例 #2
0
 /// <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;
 }