void ReadSql(Type table) { string xml = AppSettingItem.AppDataSqlXml;//xml 文件 //读取进行操作的SQL语句 string nodeName = BaseCfgItem.AppCfgXmlNodeFormat + "/" + table.Name; //读取节点项 string addSqlCmd = XmlFileHelper.ReadXmlItemValue(xml, nodeName, "key", "value", "Insert"); }
public string GetXml(string xmlFile, string sqlNodeKeyName, string sqlNodeValueName, string nodeSqlKey) {//读取xml中节点数据 return(XmlFileHelper.ReadXmlItemValue(xmlFile, sqlNodeKeyName, sqlNodeKeyName, sqlNodeValueName, nodeSqlKey)); }