示例#1
0
 /// <summary>
 /// Create a new client object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the name property.</param>
 /// <param name="pic">Initial value of the pic property.</param>
 public static client Createclient(global::System.Int32 id, global::System.String name, global::System.String pic)
 {
     client client = new client();
     client.Id = id;
     client.name = name;
     client.pic = pic;
     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);
 }