/// <summary> /// Create a new CompanyContacts object. /// </summary> /// <param name="companyContactId">Initial value of the CompanyContactId property.</param> /// <param name="firstName">Initial value of the FirstName property.</param> /// <param name="lastName">Initial value of the LastName property.</param> /// <param name="baseSalary">Initial value of the BaseSalary property.</param> public static CompanyContacts CreateCompanyContacts(global::System.Int32 companyContactId, global::System.String firstName, global::System.String lastName, global::System.Decimal baseSalary) { CompanyContacts companyContacts = new CompanyContacts(); companyContacts.CompanyContactId = companyContactId; companyContacts.FirstName = firstName; companyContacts.LastName = lastName; companyContacts.BaseSalary = baseSalary; return(companyContacts); }
/// <summary> /// Create a new CompanyContacts object. /// </summary> /// <param name="companyContactId">Initial value of the CompanyContactId property.</param> /// <param name="firstName">Initial value of the FirstName property.</param> /// <param name="lastName">Initial value of the LastName property.</param> /// <param name="baseSalary">Initial value of the BaseSalary property.</param> public static CompanyContacts CreateCompanyContacts(global::System.Int32 companyContactId, global::System.String firstName, global::System.String lastName, global::System.Decimal baseSalary) { CompanyContacts companyContacts = new CompanyContacts(); companyContacts.CompanyContactId = companyContactId; companyContacts.FirstName = firstName; companyContacts.LastName = lastName; companyContacts.BaseSalary = baseSalary; return companyContacts; }
/// <summary> /// Deprecated Method for adding a new object to the CompanyContacts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCompanyContacts(CompanyContacts companyContacts) { base.AddObject("CompanyContacts", companyContacts); }