/// <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(Clients clients) { base.AddObject("Clients", clients); }
/// <summary> /// Create a new Clients 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 Clients CreateClients(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) { Clients clients = new Clients(); clients.ClientID = clientID; clients.FName = fName; clients.SName = sName; clients.LName = lName; clients.EGN = eGN; clients.Adress = adress; clients.Phone = phone; clients.Email = email; clients.StatusID = statusID; clients.GenderID = genderID; return clients; }