Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Details EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDetails(Detail detail)
 {
     base.AddObject("Details", detail);
 }
Example #2
0
 /// <summary>
 /// Create a new Detail object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="client">Initial value of the Client property.</param>
 /// <param name="key">Initial value of the Key property.</param>
 public static Detail CreateDetail(global::System.Int32 id, global::System.String client, global::System.String key)
 {
     Detail detail = new Detail();
     detail.Id = id;
     detail.Client = client;
     detail.Key = key;
     return detail;
 }