private void Setup() { _factory = DbLink.CreateFactory(DataBaseType.MySql, @"Server=localhost;Database=activerecordtest;user id= root;password= root;"); _maker = _factory.CreateSelectSqlMaker("User"); }
private void Setup() { DbLinkFactory factory = DbLink.CreateFactory(DataBaseType.MySql, @"Server=localhost;Database=activerecordtest;user id= root;password= root;"); _user = new User(factory); }