예제 #1
0
 /// <summary>
 /// Create a new Gallery object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="projectId">Initial value of the ProjectId property.</param>
 /// <param name="addDate">Initial value of the AddDate property.</param>
 public static Gallery CreateGallery(global::System.Int32 id, global::System.Int32 projectId, global::System.DateTime addDate)
 {
     Gallery gallery = new Gallery();
     gallery.Id = id;
     gallery.ProjectId = projectId;
     gallery.AddDate = addDate;
     return gallery;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Galleries EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGalleries(Gallery gallery)
 {
     base.AddObject("Galleries", gallery);
 }