smark.data 1.0

Rating:        Based on 1 rating
Reviewed:  1 review
Downloads: 111
Released: Apr 8, 2009
Updated: Apr 8, 2009 by smarkhenry
Dev status: Stable Help Icon

Recommended Download

Example Component.Users.
example, 236K, uploaded Apr 8, 2009 - 111 downloads

Release Notes

beta 1.0
1)添加默认值扩展
2)添加属性值转换扩展
3)添加属性值验证扩展

/// <summary>
/// 用户名称
/// </summary>
Column
NotNull("用户名不能为空!")
Length("5", "16", "用户名长度必须5-16个字符!")
Unique("该用户名已经给其他用户使用!")
string UserName { get; set; }

/// <summary>
/// 性别
/// </summary>
DefaultEnum
Column
SexType Sex { get; set; }

/// <summary>
/// 系统密码
/// </summary>
Column
NotNull("密码不能为空!")
Length("5", "16", "密码长度必须5-16个字符!")
Encrypt
string SysPassWord { get; set; }

Reviews for this release

     
dfffffffffffffffffff
by ruby on Jun 24, 2009 at 2:31 AM