Esempio n. 1
0
        /// <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);
        }
Esempio n. 2
0
 /// <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;
 }
Esempio n. 3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CompanyContacts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCompanyContacts(CompanyContacts companyContacts)
 {
     base.AddObject("CompanyContacts", companyContacts);
 }
Esempio n. 4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CompanyContacts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCompanyContacts(CompanyContacts companyContacts)
 {
     base.AddObject("CompanyContacts", companyContacts);
 }