public virtual void Setup()
 {
     string databaseName = "db_" + Guid.NewGuid().ToString() + ".sdf";
     TestHelpers.LoadDatabase(databaseName);
     Connection = TestHelpers.GetConnection(databaseName);
     Impl = new DapperExtensions.DapperExtensionsImpl(typeof(AutoClassMapper<>), new SqlGeneratorImpl(new SqlCeDialect()));
 }
 public virtual void Setup()
 {
     string databaseName = string.Format("db_{0}.s3db", Guid.NewGuid().ToString());
     TestHelpers.LoadDatabase(databaseName);
     Connection = TestHelpers.GetConnection(databaseName);
     Impl = new DapperExtensions.DapperExtensionsImpl(typeof(AutoClassMapper<>), TestHelpers.GetGenerator());
 }
        public virtual void Setup()
        {
            string databaseName = string.Format("db_{0}.s3db", Guid.NewGuid().ToString());

            TestHelpers.LoadDatabase(databaseName);
            Connection = TestHelpers.GetConnection(databaseName);
            Impl       = new DapperExtensions.DapperExtensionsImpl(typeof(AutoClassMapper <>), TestHelpers.GetGenerator());
        }
Exemple #4
0
        public virtual void Setup()
        {
            string databaseName = "db_" + Guid.NewGuid().ToString() + ".sdf";

            TestHelpers.LoadDatabase(databaseName);
            Connection = TestHelpers.GetConnection(databaseName);
            Impl       = new DapperExtensions.DapperExtensionsImpl(typeof(AutoClassMapper <>), new SqlGeneratorImpl(new SqlCeDialect()));
        }