Esempio n. 1
0
        public void LoadTest()
        {
            TypeMapLoader.Load();
            var map = TypeMapLoader.GetMap(DbProviders.Sqlserver);

            Assert.IsNotNull(map);

            var confignodes = map.ConfigNodes;

            Assert.IsNotNull(confignodes);

            var confignode = map.Get("varchar");

            Assert.IsNotNull(confignode);

            Assert.AreEqual(confignode.ClrType, "string");
        }
Esempio n. 2
0
 public SqlserverDissecter(string connection)
 {
     _connection = connection;
     TypeMap     = TypeMapLoader.GetMap(DbProviders.Sqlserver);
 }
Esempio n. 3
0
 public OracleDissecter(string connection)
 {
     _connection = connection;
     TypeMap     = TypeMapLoader.GetMap(DbProviders.Oracle);
 }
Esempio n. 4
0
 public MysqlDissecter(string connection)
 {
     _connection = connection;
     TypeMap     = TypeMapLoader.GetMap(DbProviders.Mysql);
 }