public abstract bool UpdateAlbum(Album newAlbum);
//分类 public abstract int CreateNewAlbum(Album newAlbum);
/*** ��̬���� ***/ /// <summary> /// �������� /// </summary> /// <returns></returns> public static int InsertAlbum(int userId, int parentId, string title, string note, int collects, int orders) { if (String.IsNullOrEmpty(title)) throw (new NullReferenceException("title")); Album insertAlbum = new Album(0, userId, parentId, title, note, collects, orders); if (insertAlbum.Save()) { return insertAlbum.AlbumId; } else { return 0; } }