using Castle.ActiveRecord; using System.Data; namespace BizCom { [ActiveRecord("CE_ErpOpt")] public class CeErpOpt : DicSysBase { public CeErpOpt() { rootName = "参数类型"; titleName = "参数类型"; tableName = "CE_ErpOpt"; } /// ///最大库存 /// [Property] public new string PCode { get { return _pCode; } set { _pCode = value; } } public static DataTable GetTable() { DataTable dt = DbConn.ExecuteDataset("select * from CE_ErpOpt ;").Tables[0]; return dt; } } }