您目前尚未登陆,请选择【登陆】或【注册
首页->全站代码->逐迹内容管理系统AspxNuke v2.0源码>>Portal/Domain/Logging.cs>>代码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,不能展示项目的全部,如果想更进一步了解该代码请下载:逐迹内容管理系统AspxNuke v2.0源码


当前文件路径:AspxNuke/Portal/Domain/Logging.cs 文件类型
普通视图
		            
1using System; 2using AspxNuke.Library.Text; 3 4namespace AspxNuke.Portal.Domain 5{ 6 /// <summary> 7 /// 日志 8 /// </summary> 9 public class Logging 10 { 11 private string _id; 12 /// <summary> 13 /// 标识 14 /// </summary> 15 public virtual string Id 16 { 17 set 18 { 19 _id = value; 20 } 21 get { return _id; } 22 } 23 24 private int _type; 25 /// <summary> 26 /// 类型 27 /// </summary> 28 public virtual int Type 29 { 30 set 31 { 32 _type = value; 33 } 34 get { return _type; } 35 } 36 37 private int _class; 38 /// <summary> 39 /// 类别 40 /// </summary> 41 public virtual int Class 42 { 43 set 44 { 45 _class = value; 46 } 47 get { return _class; } 48 } 49 50 private string _source; 51 /// <summary> 52 /// 来源 53 /// </summary> 54 public virtual string Source 55 { 56 set 57 { 58 if (value != null && ValidHelper.BytesSize(value) > 100) 59 { 60 throw new ArgumentOutOfRangeException("来源不能大于100字节!", value, value.ToString()); 61 } 62 _source = value; 63 } 64 get { return _source; } 65 } 66 67 private string _description; 68 /// <summary> 69 /// 描述 70 /// </summary> 71 public virtual string Description 72 { 73 set 74 { 75 _description = value; 76 } 77 get { return _description; } 78 } 79 80 private string _createdByUser; 81 /// <summary> 82 /// 提交用户 83 /// </summary> 84 public virtual string CreatedByUser 85 { 86 set 87 { 88 if (value != null && ValidHelper.BytesSize(value) > 30) 89 { 90 throw new ArgumentOutOfRangeException("提交用户不能大于30字节!", value, value.ToString()); 91 } 92 _createdByUser = value; 93 } 94 get { return _createdByUser; } 95 } 96 97 private string _createdByIp; 98 /// <summary> 99 /// 提交IP 100 /// </summary> 101 public virtual string CreatedByIp 102 { 103 set 104 { 105 if (value != null && ValidHelper.BytesSize(value) > 15) 106 { 107 throw new ArgumentOutOfRangeException("提交IP不能大于15字节!", value, value.ToString()); 108 } 109 _createdByIp = value; 110 } 111 get { return _createdByIp; } 112 } 113 114 private DateTime _createdByDate; 115 /// <summary> 116 /// 提交时间 117 /// </summary> 118 public virtual DateTime CreatedByDate 119 { 120 set 121 { 122 _createdByDate = value; 123 } 124 get { return _createdByDate; } 125 } 126 127 } 128} 129 130 131
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:逐迹内容管理系统AspxNuke v2.0源码

- NHibernate三层简单用户管理系统

- asp.net版ucenter接口程序源码

- AjaxPro无刷新三级联动下拉菜单

- 狂人论坛3.0

- 智能选课系统源码及论坛

- 简单网站计数器统(单用户)源码

- asp.net漂亮弹出对话框控件源..

- 热线球队财务管理系统源码

51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号