/// <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(Company company)
 {
     base.AddObject("Companies", company);
 }
 private bool FilterCompany(Company entity)
 {
     return (entity.CompanyId == this.CompanyId);
 }
 /// <summary>
 /// Create a new Company object.
 /// </summary>
 /// <param name="companyId">Initial value of the CompanyId property.</param>
 public static Company CreateCompany(global::System.Int32 companyId)
 {
     Company company = new Company();
     company.CompanyId = companyId;
     return company;
 }