| 123456789101112131415161718192021222324252627282930 |
- using System;
- using Castle.ActiveRecord;
- using System.Text;
- namespace BizCom
- {
- [ActiveRecord("Sheet3$")]
- public class Sheet3$ : ComBase<Sheet3$>
- {
- private string _tid="";
- /// <summary>
- ///
- /// </summary>
- [Property]
- public string tid
- {
- get{ return _tid; }
- set{ _tid=value; }
- }
- public static void Del(object id)
- {
- StringBuilder sql = new StringBuilder();
- sql.AppendFormat("delete from Sheet3$ where id=" + id);
- ExecuteNonQuery(sql.ToString());
- }
- }
- }
|