public ConnectOdbcPresenter(IConnectOdbcView view) { _view = view; _builders = new Dictionary<OdbcType, IOdbcConnectionBuilder>(); _builders.Add(OdbcType.MsAccess, new OdbcAccess()); _builders.Add(OdbcType.MsExcel, new OdbcExcel()); _builders.Add(OdbcType.SQLServer, new OdbcSqlServer()); _builders.Add(OdbcType.Text, new OdbcText()); _builders.Add(OdbcType.Generic, new OdbcGeneric()); }
public ConnectOdbcPresenter(IConnectOdbcView view) { _view = view; _builders = new Dictionary <OdbcType, IOdbcConnectionBuilder>(); _builders.Add(OdbcType.MsAccess, new OdbcAccess()); _builders.Add(OdbcType.MsExcel, new OdbcExcel()); _builders.Add(OdbcType.SQLServer, new OdbcSqlServer()); _builders.Add(OdbcType.Text, new OdbcText()); _builders.Add(OdbcType.Generic, new OdbcGeneric()); }