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"); }
public SqlserverDissecter(string connection) { _connection = connection; TypeMap = TypeMapLoader.GetMap(DbProviders.Sqlserver); }
public OracleDissecter(string connection) { _connection = connection; TypeMap = TypeMapLoader.GetMap(DbProviders.Oracle); }
public MysqlDissecter(string connection) { _connection = connection; TypeMap = TypeMapLoader.GetMap(DbProviders.Mysql); }