/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the Galleries EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGalleries(Gallery gallery) { base.AddObject("Galleries", gallery); }