Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MasterRelationships EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMasterRelationships(MasterRelationship masterRelationship)
 {
     base.AddObject("MasterRelationships", masterRelationship);
 }
Пример #2
0
 /// <summary>
 /// Create a new MasterRelationship object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 public static MasterRelationship CreateMasterRelationship(global::System.Int32 id)
 {
     MasterRelationship masterRelationship = new MasterRelationship();
     masterRelationship.Id = id;
     return masterRelationship;
 }