Sheet3$.cs 618 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using Castle.ActiveRecord;
  3. using System.Text;
  4. namespace BizCom
  5. {
  6. [ActiveRecord("Sheet3$")]
  7. public class Sheet3$ : ComBase<Sheet3$>
  8. {
  9. private string _tid="";
  10. /// <summary>
  11. ///
  12. /// </summary>
  13. [Property]
  14. public string tid
  15. {
  16. get{ return _tid; }
  17. set{ _tid=value; }
  18. }
  19. public static void Del(object id)
  20. {
  21. StringBuilder sql = new StringBuilder();
  22. sql.AppendFormat("delete from Sheet3$ where id=" + id);
  23. ExecuteNonQuery(sql.ToString());
  24. }
  25. }
  26. }