コード例 #1
0
 /// <summary>
 /// Create a new Firm object.
 /// </summary>
 /// <param name="firmID">Initial value of the FirmID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Firm CreateFirm(global::System.Int32 firmID, global::System.String name)
 {
     Firm firm = new Firm();
     firm.FirmID = firmID;
     firm.Name = name;
     return firm;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Firm EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFirm(Firm firm)
 {
     base.AddObject("Firm", firm);
 }