コード例 #1
0
ファイル: Model1.Designer.cs プロジェクト: protechdm/TMD
 /// <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
ファイル: Model1.Designer.cs プロジェクト: protechdm/TMD
 /// <summary>
 /// Create a new Companies object.
 /// </summary>
 /// <param name="companyID">Initial value of the CompanyID property.</param>
 /// <param name="addDate">Initial value of the AddDate property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Companies CreateCompanies(global::System.Int32 companyID, global::System.DateTime addDate, global::System.Byte[] rowVersion)
 {
     Companies companies = new Companies();
     companies.CompanyID = companyID;
     companies.AddDate = addDate;
     companies.RowVersion = rowVersion;
     return companies;
 }