/// <summary> /// Create a new Client object. /// </summary> /// <param name="clientID">Initial value of the ClientID property.</param> /// <param name="username">Initial value of the Username property.</param> /// <param name="password">Initial value of the Password property.</param> /// <param name="email">Initial value of the Email property.</param> /// <param name="firstName">Initial value of the FirstName property.</param> /// <param name="lastName">Initial value of the LastName property.</param> public static Client CreateClient(global::System.Int32 clientID, global::System.String username, global::System.String password, global::System.String email, global::System.String firstName, global::System.String lastName) { Client client = new Client(); client.ClientID = clientID; client.Username = username; client.Password = password; client.Email = email; client.FirstName = firstName; client.LastName = lastName; return client; }
/// <summary> /// Deprecated Method for adding a new object to the Clients EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToClients(Client client) { base.AddObject("Clients", client); }