/// <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); }
/// <summary> /// Create a new Client object. /// </summary> /// <param name="clientID">Initial value of the ClientID property.</param> /// <param name="fName">Initial value of the FName property.</param> /// <param name="sName">Initial value of the SName property.</param> /// <param name="lName">Initial value of the LName property.</param> /// <param name="eGN">Initial value of the EGN property.</param> /// <param name="adress">Initial value of the Adress property.</param> /// <param name="phone">Initial value of the Phone property.</param> /// <param name="email">Initial value of the Email property.</param> /// <param name="statusID">Initial value of the StatusID property.</param> /// <param name="genderID">Initial value of the GenderID property.</param> public static Client CreateClient(global::System.Int32 clientID, global::System.String fName, global::System.String sName, global::System.String lName, global::System.String eGN, global::System.String adress, global::System.String phone, global::System.String email, global::System.Int32 statusID, global::System.Int32 genderID) { Client client = new Client(); client.ClientID = clientID; client.FName = fName; client.SName = sName; client.LName = lName; client.EGN = eGN; client.Adress = adress; client.Phone = phone; client.Email = email; client.StatusID = statusID; client.GenderID = genderID; return client; }