Example #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);
 }
Example #2
0
 /// <summary>
 /// Create a new RelationshipType object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 public static RelationshipType CreateRelationshipType(global::System.Int64 id, global::System.String name, global::System.DateTime createDate)
 {
     RelationshipType relationshipType = new RelationshipType();
     relationshipType.ID = id;
     relationshipType.Name = name;
     relationshipType.CreateDate = createDate;
     return relationshipType;
 }