/// <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="client1">Initial value of the Client1 property.</param> /// <param name="region">Initial value of the Region property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> public static Client CreateClient(global::System.Int32 clientID, global::System.String client1, global::System.String region, global::System.DateTime createdDate, global::System.String createdBy) { Client client = new Client(); client.ClientID = clientID; client.Client1 = client1; client.Region = region; client.CreatedDate = createdDate; client.CreatedBy = createdBy; return client; }