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