/// <summary> /// Deprecated Method for adding a new object to the Claims EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToClaims(Claim claim) { base.AddObject("Claims", claim); }
/// <summary> /// Create a new Claim object. /// </summary> /// <param name="claimID">Initial value of the ClaimID property.</param> /// <param name="policyID">Initial value of the PolicyID property.</param> public static Claim CreateClaim(global::System.Int32 claimID, global::System.Int32 policyID) { Claim claim = new Claim(); claim.ClaimID = claimID; claim.PolicyID = policyID; return claim; }