/// <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="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; }