/// <summary> /// Deprecated Method for adding a new object to the VisitServiceInsurances EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToVisitServiceInsurances(VisitServiceInsurance visitServiceInsurance) { base.AddObject("VisitServiceInsurances", visitServiceInsurance); }
/// <summary> /// Create a new VisitServiceInsurance object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="visitServiceId">Initial value of the VisitServiceId property.</param> /// <param name="insuranceDefServiceId">Initial value of the InsuranceDefServiceId property.</param> /// <param name="insuranceDefInsuranceId">Initial value of the InsuranceDefInsuranceId property.</param> public static VisitServiceInsurance CreateVisitServiceInsurance(global::System.Int32 id, global::System.Int32 visitServiceId, global::System.Int32 insuranceDefServiceId, global::System.Int32 insuranceDefInsuranceId) { VisitServiceInsurance visitServiceInsurance = new VisitServiceInsurance(); visitServiceInsurance.Id = id; visitServiceInsurance.VisitServiceId = visitServiceId; visitServiceInsurance.InsuranceDefServiceId = insuranceDefServiceId; visitServiceInsurance.InsuranceDefInsuranceId = insuranceDefInsuranceId; return visitServiceInsurance; }