Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Insurances EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInsurances(Insurance insurance)
 {
     base.AddObject("Insurances", insurance);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Insurance object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="title">Initial value of the Title property.</param>
 public static Insurance CreateInsurance(global::System.Int32 id, global::System.String title)
 {
     Insurance insurance = new Insurance();
     insurance.Id = id;
     insurance.Title = title;
     return insurance;
 }