| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- using System;
- using Castle.ActiveRecord;
- using System.Text;
- namespace BizCom
- {
- [ActiveRecord("CE_Columns")]
- public class CeColumns : ComBase<CeColumns>
- {
- private string _name="";
- /// <summary>
- ///
- /// </summary>
- [Property]
- public string Name
- {
- get{ return _name; }
- set{ _name=value; }
- }
- private int _userID=0;
- /// <summary>
- ///
- /// </summary>
- [Property]
- public int UserID
- {
- get{ return _userID; }
- set{ _userID=value; }
- }
- private string _con="";
- /// <summary>
- ///
- /// </summary>
- [Property]
- public string Con
- {
- get{ return _con; }
- set{ _con=value; }
- }
- private string _cpath="";
- /// <summary>
- ///
- /// </summary>
- [Property]
- public string cpath
- {
- get{ return _cpath; }
- set{ _cpath=value; }
- }
- private bool _issys=false;
- /// <summary>
- ///
- /// </summary>
- [Property]
- public bool issys
- {
- get{ return _issys; }
- set{ _issys=value; }
- }
- public static void Del(object id)
- {
- StringBuilder sql = new StringBuilder();
- sql.AppendFormat("delete from CE_Columns where id=" + id);
- ExecuteNonQuery(sql.ToString());
- }
- }
- }
|