?? album.cs
字號:
using System;
using System.Collections;
namespace Com.SMS.Entity
{
#region Album
/// <summary>
/// Album object for NHibernate mapped table 'Album'.
/// </summary>
public class Album
{
#region Member Variables
protected int _abId;
protected string _alName;
protected int _typeId;
protected int _userId;
protected string _alFace;
#endregion
#region Constructors
public Album() { }
public Album( string alName, int typeId, int userId, string alFace )
{
this._alName = alName;
this._typeId = typeId;
this._userId = userId;
this._alFace = alFace;
}
#endregion
#region Public Properties
public int AbId
{
get {return _abId;}
set {_abId = value;}
}
public string AlName
{
get { return _alName; }
set
{
if ( value != null && value.Length > 50)
throw new ArgumentOutOfRangeException("Invalid value for AlName", value, value.ToString());
_alName = value;
}
}
public int TypeId
{
get { return _typeId; }
set { _typeId = value; }
}
public int UserId
{
get { return _userId; }
set { _userId = value; }
}
public string AlFace
{
get { return _alFace; }
set
{
if ( value != null && value.Length > 100)
throw new ArgumentOutOfRangeException("Invalid value for AlFace", value, value.ToString());
_alFace = value;
}
}
#endregion
}
#endregion
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -