示例#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="companyName">Initial value of the CompanyName property.</param>
 /// <param name="dateAdded">Initial value of the DateAdded property.</param>
 public static Companies CreateCompanies(global::System.Int32 companyId, global::System.String companyName, global::System.DateTime dateAdded)
 {
     Companies companies = new Companies();
     companies.CompanyId = companyId;
     companies.CompanyName = companyName;
     companies.DateAdded = dateAdded;
     return companies;
 }
示例#3
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);
 }