/// <summary>
        /// Create a new TrexCustomer object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="companyName">Initial value of the CompanyName property.</param>
        /// <param name="vatNumber">Initial value of the VatNumber property.</param>
        /// <param name="country">Initial value of the Country property.</param>
        /// <param name="address1">Initial value of the Address1 property.</param>
        /// <param name="creatorFullName">Initial value of the CreatorFullName property.</param>
        /// <param name="creatorPhone">Initial value of the CreatorPhone property.</param>
        /// <param name="customerId">Initial value of the CustomerId property.</param>
        /// <param name="inactive">Initial value of the Inactive property.</param>
        /// <param name="isLockedOut">Initial value of the IsLockedOut property.</param>
        /// <param name="createDate">Initial value of the CreateDate property.</param>
        /// <param name="isActivated">Initial value of the IsActivated property.</param>
        public static TrexCustomer CreateTrexCustomer(global::System.Int32 id, global::System.String companyName, global::System.String vatNumber, global::System.String country, global::System.String address1, global::System.String creatorFullName, global::System.String creatorPhone, global::System.String customerId, global::System.Boolean inactive, global::System.Boolean isLockedOut, global::System.DateTime createDate, global::System.Boolean isActivated)
        {
            TrexCustomer trexCustomer = new TrexCustomer();

            trexCustomer.Id              = id;
            trexCustomer.CompanyName     = companyName;
            trexCustomer.VatNumber       = vatNumber;
            trexCustomer.Country         = country;
            trexCustomer.Address1        = address1;
            trexCustomer.CreatorFullName = creatorFullName;
            trexCustomer.CreatorPhone    = creatorPhone;
            trexCustomer.CustomerId      = customerId;
            trexCustomer.Inactive        = inactive;
            trexCustomer.IsLockedOut     = isLockedOut;
            trexCustomer.CreateDate      = createDate;
            trexCustomer.IsActivated     = isActivated;
            return(trexCustomer);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the TrexCustomers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTrexCustomers(TrexCustomer trexCustomer)
 {
     base.AddObject("TrexCustomers", trexCustomer);
 }