예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PhotoNotes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPhotoNotes(PhotoNotes photoNotes)
 {
     base.AddObject("PhotoNotes", photoNotes);
 }
예제 #2
0
 /// <summary>
 /// Create a new PhotoNotes object.
 /// </summary>
 /// <param name="pn_id">Initial value of the pn_id property.</param>
 /// <param name="p_id">Initial value of the p_id property.</param>
 /// <param name="pn_timestamp">Initial value of the pn_timestamp property.</param>
 /// <param name="pn_x">Initial value of the pn_x property.</param>
 /// <param name="pn_y">Initial value of the pn_y property.</param>
 /// <param name="pn_width">Initial value of the pn_width property.</param>
 /// <param name="pn_height">Initial value of the pn_height property.</param>
 public static PhotoNotes CreatePhotoNotes(global::System.Int32 pn_id, global::System.Int32 p_id, global::System.DateTime pn_timestamp, global::System.Int32 pn_x, global::System.Int32 pn_y, global::System.Int32 pn_width, global::System.Int32 pn_height)
 {
     PhotoNotes photoNotes = new PhotoNotes();
     photoNotes.pn_id = pn_id;
     photoNotes.p_id = p_id;
     photoNotes.pn_timestamp = pn_timestamp;
     photoNotes.pn_x = pn_x;
     photoNotes.pn_y = pn_y;
     photoNotes.pn_width = pn_width;
     photoNotes.pn_height = pn_height;
     return photoNotes;
 }