コード例 #1
0
 /// <summary>
 /// Create a new WhoIsInPicture object.
 /// </summary>
 /// <param name="whoIsInPictureId">Initial value of the WhoIsInPictureId property.</param>
 /// <param name="pictureId">Initial value of the PictureId property.</param>
 /// <param name="memberId">Initial value of the MemberId property.</param>
 /// <param name="isPet">Initial value of the IsPet property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static WhoIsInPicture CreateWhoIsInPicture(global::System.String whoIsInPictureId, global::System.Guid pictureId, global::System.Guid memberId, global::System.Boolean isPet, global::System.String name)
 {
     WhoIsInPicture whoIsInPicture = new WhoIsInPicture();
     whoIsInPicture.WhoIsInPictureId = whoIsInPictureId;
     whoIsInPicture.PictureId = pictureId;
     whoIsInPicture.MemberId = memberId;
     whoIsInPicture.IsPet = isPet;
     whoIsInPicture.Name = name;
     return whoIsInPicture;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the WhoIsInPictures EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToWhoIsInPictures(WhoIsInPicture whoIsInPicture)
 {
     base.AddObject("WhoIsInPictures", whoIsInPicture);
 }