Exemple #1
0
        public DBNode GetDBFromSection(string asection, string apath, string aid)
        {
            IniReader ini       = new IniReader(apath);
            DBNode    newDBNode = new DBNode(aid,
                                             ini.ReadString(asection, "databaseName"),
                                             ini.ReadString(asection, "databaseName"),
                                             cst_charset,
                                             cst_user,
                                             ini.ReadString(asection, "password"),
                                             cst_role,
                                             dbNamespace,
                                             ini.ReadString(asection, "serverName")
                                             );

            return(newDBNode);
        }
Exemple #2
0
 public void AddDBNode(XmlNode aserverNode, DBNode aDBNode)
 {
     aDBNode.AddDB(aserverNode);
 }