/// <summary> /// Deprecated Method for adding a new object to the Insurances EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToInsurances(Insurance insurance) { base.AddObject("Insurances", insurance); }
/// <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; }