/// <summary> /// Deprecated Method for adding a new object to the CompanyTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCompanyTypes(CompanyType companyType) { base.AddObject("CompanyTypes", companyType); }
/// <summary> /// Create a new CompanyType object. /// </summary> /// <param name="companyTypeID">Initial value of the CompanyTypeID property.</param> /// <param name="type">Initial value of the Type property.</param> public static CompanyType CreateCompanyType(global::System.Int32 companyTypeID, global::System.String type) { CompanyType companyType = new CompanyType(); companyType.CompanyTypeID = companyTypeID; companyType.Type = type; return companyType; }