コード例 #1
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(Client1 client1)
 {
     base.AddObject("Clients", client1);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Client1 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="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>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Client1 CreateClient1(global::System.Int32 id, global::System.String firstName, global::System.String lastName, global::System.String gender, global::System.DateTime birthday, global::System.DateTime createdTime, global::System.DateTime updatedTime, global::System.String updatedBy, global::System.Byte[] rowVersion)
 {
     Client1 client1 = new Client1();
     client1.Id = id;
     client1.FirstName = firstName;
     client1.LastName = lastName;
     client1.Gender = gender;
     client1.Birthday = birthday;
     client1.CreatedTime = createdTime;
     client1.UpdatedTime = updatedTime;
     client1.UpdatedBy = updatedBy;
     client1.RowVersion = rowVersion;
     return client1;
 }