コード例 #1
0
 /// <summary>
 /// Create a new Client object.
 /// </summary>
 /// <param name="clientId">Initial value of the ClientId property.</param>
 /// <param name="clientIdentifier">Initial value of the ClientIdentifier property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="clientType">Initial value of the ClientType property.</param>
 public static Client CreateClient(global::System.Int32 clientId, global::System.String clientIdentifier, global::System.String name, global::System.Int32 clientType)
 {
     Client client = new Client();
     client.ClientId = clientId;
     client.ClientIdentifier = clientIdentifier;
     client.Name = name;
     client.ClientType = clientType;
     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);
 }