温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:博客源代码(课程设计,3层架构)
当前文件:
MVCBlog/App_Code/Album.cs,打开代码结构图
MVCBlog/App_Code/Album.cs,打开代码结构图1public class Album { 2
3
private int _id; 4
private int _count; 5
private string _caption; 6
7
8
public int AlbumID { get { return _id; } } 9
public int Count { get { return _count; } } 10
public string Caption { get { return _caption; } } 11
12
13
public Album(int id, int count, string caption) { 14
_id = id; 15
_count = count; 16
_caption = caption; 17
18
} 19
20
} 21
22




}
}
