Exemplo n.º 1
0
        static void Main(string[] args)
        {
            Regulus.SQL.Database db = new Regulus.SQL.Database();
            db.Connect("localhost", "root", "keys", "test");

            //db.Connect("localhost:3306", "root", "keys", "test");
            db.Disconnect();
        }
Exemplo n.º 2
0
        void Regulus.Framework.ILaunched.Launch()
        {
            _Game = new Regulus.NoSQL.Database();
            _Game.Launch("mongodb://127.0.0.1:27017", "SamebestKeys");

            _Business = new SQL.Database();
            _Business.Connect("localhost", "root", "keys", "SamebestKeys");
        }