예제 #1
0
 /// <summary>
 /// Create a new HR_CMP_InsurancePolicy object.
 /// </summary>
 /// <param name="insurancePolicyID">Initial value of the InsurancePolicyID property.</param>
 /// <param name="inusranceCompanyID">Initial value of the InusranceCompanyID property.</param>
 /// <param name="policyAmount">Initial value of the PolicyAmount property.</param>
 /// <param name="policyDescription">Initial value of the PolicyDescription property.</param>
 /// <param name="companyURL">Initial value of the CompanyURL property.</param>
 public static HR_CMP_InsurancePolicy CreateHR_CMP_InsurancePolicy(global::System.Int32 insurancePolicyID, global::System.Int32 inusranceCompanyID, global::System.Decimal policyAmount, global::System.String policyDescription, global::System.String companyURL)
 {
     HR_CMP_InsurancePolicy hR_CMP_InsurancePolicy = new HR_CMP_InsurancePolicy();
     hR_CMP_InsurancePolicy.InsurancePolicyID = insurancePolicyID;
     hR_CMP_InsurancePolicy.InusranceCompanyID = inusranceCompanyID;
     hR_CMP_InsurancePolicy.PolicyAmount = policyAmount;
     hR_CMP_InsurancePolicy.PolicyDescription = policyDescription;
     hR_CMP_InsurancePolicy.CompanyURL = companyURL;
     return hR_CMP_InsurancePolicy;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the HR_CMP_InsurancePolicy EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHR_CMP_InsurancePolicy(HR_CMP_InsurancePolicy hR_CMP_InsurancePolicy)
 {
     base.AddObject("HR_CMP_InsurancePolicy", hR_CMP_InsurancePolicy);
 }