| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- using System;
- using Castle.ActiveRecord;
- using System.Text;
- namespace BizCom
- {
- [ActiveRecord("X_Log_Dispatch")]
- public class X_Log_Dispatch : ComBase<X_Log_Dispatch>
- {
- /// <summary>
- ///
- /// </summary>
- [PrimaryKey(PrimaryKeyType.Native)]
- public int ID { get; set; }
- private string _ctid="";
- /// <summary>
- ///
- /// </summary>
- [Property]
- public string ctid
- {
- get{ return _ctid; }
- set{ _ctid=value; }
- }
- private string _did="";
- /// <summary>
- ///
- /// </summary>
- [Property]
- public string did
- {
- get{ return _did; }
- set{ _did=value; }
- }
- /// <summary>
- ///
- /// </summary>
- [Property]
- public DateTime? dtime { get; set; }
- public static void Del(object id)
- {
- StringBuilder sql = new StringBuilder();
- sql.AppendFormat("delete from X_Log_Dispatch where id=" + id);
- ExecuteNonQuery(sql.ToString());
- }
- }
- }
|