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