/// <summary> /// Deprecated Method for adding a new object to the PhotoAlbums EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPhotoAlbums(PhotoAlbums photoAlbums) { base.AddObject("PhotoAlbums", photoAlbums); }
/// <summary> /// Create a new PhotoAlbums object. /// </summary> /// <param name="pa_id">Initial value of the pa_id property.</param> /// <param name="u_username">Initial value of the u_username property.</param> /// <param name="pa_name">Initial value of the pa_name property.</param> /// <param name="pa_access">Initial value of the pa_access property.</param> public static PhotoAlbums CreatePhotoAlbums(global::System.Int32 pa_id, global::System.String u_username, global::System.String pa_name, global::System.Int32 pa_access) { PhotoAlbums photoAlbums = new PhotoAlbums(); photoAlbums.pa_id = pa_id; photoAlbums.u_username = u_username; photoAlbums.pa_name = pa_name; photoAlbums.pa_access = pa_access; return photoAlbums; }