Пример #1
0
 /// <summary>
 /// Create a new Client object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="firstName">Initial value of the FirstName property.</param>
 /// <param name="lastName">Initial value of the LastName property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 /// <param name="gender">Initial value of the Gender property.</param>
 /// <param name="birthday">Initial value of the Birthday property.</param>
 /// <param name="createdTime">Initial value of the CreatedTime property.</param>
 /// <param name="updatedTime">Initial value of the UpdatedTime property.</param>
 /// <param name="updatedBy">Initial value of the UpdatedBy property.</param>
 public static Client CreateClient(global::System.Int32 id, global::System.String firstName, global::System.String lastName, global::System.Byte[] rowVersion, global::System.String gender, global::System.DateTime birthday, global::System.DateTime createdTime, global::System.DateTime updatedTime, global::System.String updatedBy)
 {
     Client client = new Client();
     client.Id = id;
     client.FirstName = firstName;
     client.LastName = lastName;
     client.RowVersion = rowVersion;
     client.Gender = gender;
     client.Birthday = birthday;
     client.CreatedTime = createdTime;
     client.UpdatedTime = updatedTime;
     client.UpdatedBy = updatedBy;
     return client;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Clients EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToClients(Client client)
 {
     base.AddObject("Clients", client);
 }
Пример #3
0
 /// <summary>
 /// Create a new Client object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Client CreateClient(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.String name)
 {
     Client client = new Client();
     client.Id = id;
     client.RowVersion = rowVersion;
     client.Name = name;
     return client;
 }