CeErpOpt.cs 690 B

123456789101112131415161718192021222324252627282930313233
  1. using Castle.ActiveRecord;
  2. using System.Data;
  3. namespace BizCom
  4. {
  5. [ActiveRecord("CE_ErpOpt")]
  6. public class CeErpOpt : DicSysBase
  7. {
  8. public CeErpOpt()
  9. {
  10. rootName = "参数类型";
  11. titleName = "参数类型";
  12. tableName = "CE_ErpOpt";
  13. }
  14. /// <summary>
  15. ///最大库存
  16. /// </summary>
  17. [Property]
  18. public new string PCode
  19. {
  20. get { return _pCode; }
  21. set { _pCode = value; }
  22. }
  23. public static DataTable GetTable()
  24. {
  25. DataTable dt = DbConn.ExecuteDataset("select * from CE_ErpOpt ;").Tables[0];
  26. return dt;
  27. }
  28. }
  29. }