Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Pictures EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPictures(Picture picture)
 {
     base.AddObject("Pictures", picture);
 }
Пример #2
0
 /// <summary>
 /// Create a new Picture object.
 /// </summary>
 /// <param name="pictureId">Initial value of the PictureId property.</param>
 public static Picture CreatePicture(global::System.Int32 pictureId)
 {
     Picture picture = new Picture();
     picture.PictureId = pictureId;
     return picture;
 }