using System; using Castle.ActiveRecord; using System.Text; namespace BizCom { [ActiveRecord("Sheet3$")] public class Sheet3$ : ComBase { private string _tid=""; /// /// /// [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()); } } }