Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Notes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToNotes(Note note)
 {
     base.AddObject("Notes", note);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Note object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 public static Note CreateNote(global::System.Int32 id)
 {
     Note note = new Note();
     note.ID = id;
     return note;
 }