Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the detail_item EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTodetail_item(detail_item detail_item)
 {
     base.AddObject("detail_item", detail_item);
 }
Пример #2
0
 /// <summary>
 /// Create a new detail_item object.
 /// </summary>
 /// <param name="patient_id">Initial value of the patient_id property.</param>
 /// <param name="weight">Initial value of the weight property.</param>
 /// <param name="text">Initial value of the text property.</param>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="alert">Initial value of the alert property.</param>
 /// <param name="title">Initial value of the title property.</param>
 public static detail_item Createdetail_item(global::System.Int32 patient_id, global::System.Int32 weight, global::System.String text, global::System.Int32 id, global::System.Boolean alert, global::System.String title)
 {
     detail_item detail_item = new detail_item();
     detail_item.patient_id = patient_id;
     detail_item.weight = weight;
     detail_item.text = text;
     detail_item.id = id;
     detail_item.alert = alert;
     detail_item.title = title;
     return detail_item;
 }