using System; using System.Collections; using BP.DA; using BP.En; using BP.Sys.XML; namespace BP.Sys { /// /// 多音字 /// public class ChMulToneXml : XmlEn { #region 属性 public string No { get { return this.GetValStringByKey("No"); } } public string Name { get { return this.GetValStringByKey("Name"); } } public string Desc { get { return this.GetValStringByKey("No"); } } #endregion #region 构造 /// /// 节点扩展信息 /// public ChMulToneXml() { } /// /// 获取一个实例s /// public override XmlEns GetNewEntities { get { return new ChMulToneXmls(); } } #endregion } /// /// 多音字s /// public class ChMulToneXmls : XmlEns { #region 构造 /// /// 多音字s /// public ChMulToneXmls() { } #endregion #region 重写基类属性或方法。 /// /// 得到它的 Entity /// public override XmlEn GetNewEntity { get { return new ChMulToneXml(); } } public override string File { get { return BP.Difference.SystemConfig.PathOfData + "XML/XmlDB.xml"; } } /// /// 物理表名 /// public override string TableName { get { return "PinYin"; } } public override Entities RefEns { get { return null; } } #endregion } }