/// <summary> /// Create a new PolicyNote object. /// </summary> /// <param name="policyNoteID">Initial value of the PolicyNoteID property.</param> /// <param name="policyID">Initial value of the PolicyID property.</param> public static PolicyNote CreatePolicyNote(global::System.Int32 policyNoteID, global::System.Int32 policyID) { PolicyNote policyNote = new PolicyNote(); policyNote.PolicyNoteID = policyNoteID; policyNote.PolicyID = policyID; return policyNote; }
/// <summary> /// Deprecated Method for adding a new object to the PolicyNotes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPolicyNotes(PolicyNote policyNote) { base.AddObject("PolicyNotes", policyNote); }