コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PolicyNotes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPolicyNotes(PolicyNote policyNote)
 {
     base.AddObject("PolicyNotes", policyNote);
 }