コード例 #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(Clients clients)
 {
     base.AddObject("Clients", clients);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Clients object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="clientName">Initial value of the ClientName property.</param>
 public static Clients CreateClients(global::System.Int32 id, global::System.String clientName)
 {
     Clients clients = new Clients();
     clients.Id = id;
     clients.ClientName = clientName;
     return clients;
 }