/// <summary> /// Deprecated Method for adding a new object to the Companies EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCompanies(Companies companies) { base.AddObject("Companies", companies); }
/// <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; }