/// <summary> /// Deprecated Method for adding a new object to the InsuranceDefs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToInsuranceDefs(InsuranceDef insuranceDef) { base.AddObject("InsuranceDefs", insuranceDef); }
/// <summary> /// Create a new InsuranceDef object. /// </summary> /// <param name="serviceId">Initial value of the ServiceId property.</param> /// <param name="insuranceId">Initial value of the InsuranceId property.</param> public static InsuranceDef CreateInsuranceDef(global::System.Int32 serviceId, global::System.Int32 insuranceId) { InsuranceDef insuranceDef = new InsuranceDef(); insuranceDef.ServiceId = serviceId; insuranceDef.InsuranceId = insuranceId; return insuranceDef; }