コード例 #1
0
 /// <summary>
 /// Create a new OtherSourceMaster object.
 /// </summary>
 /// <param name="otherSourceId">Initial value of the OtherSourceId property.</param>
 public static OtherSourceMaster CreateOtherSourceMaster(global::System.Int32 otherSourceId)
 {
     OtherSourceMaster otherSourceMaster = new OtherSourceMaster();
     otherSourceMaster.OtherSourceId = otherSourceId;
     return otherSourceMaster;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OtherSourceMasters EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOtherSourceMasters(OtherSourceMaster otherSourceMaster)
 {
     base.AddObject("OtherSourceMasters", otherSourceMaster);
 }