/// <summary> /// Deprecated Method for adding a new object to the Customers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCustomers(Customers customers) { base.AddObject("Customers", customers); }
/// <summary> /// Create a new Customers object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="email">Initial value of the Email property.</param> /// <param name="customerName">Initial value of the CustomerName property.</param> /// <param name="companyName">Initial value of the CompanyName property.</param> /// <param name="registerDate">Initial value of the RegisterDate property.</param> public static Customers CreateCustomers(global::System.Int32 id, global::System.String email, global::System.String customerName, global::System.String companyName, global::System.DateTime registerDate) { Customers customers = new Customers(); customers.Id = id; customers.Email = email; customers.CustomerName = customerName; customers.CompanyName = companyName; customers.RegisterDate = registerDate; return customers; }