Exemplo n.º 1
0
 private void Setup()
 {
     _factory = DbLink.CreateFactory(DataBaseType.MySql, @"Server=localhost;Database=activerecordtest;user id= root;password= root;");
     _maker   = _factory.CreateSelectSqlMaker("User");
 }
Exemplo n.º 2
0
        private void Setup()
        {
            DbLinkFactory factory = DbLink.CreateFactory(DataBaseType.MySql, @"Server=localhost;Database=activerecordtest;user id= root;password= root;");

            _user = new User(factory);
        }