Configure the ISqlMapper with the ConnectionString provided other than batis 
configuration files.
-------------------------------------------------------------------------------------------------

                 Key: IBATISNET-223
                 URL: https://issues.apache.org/jira/browse/IBATISNET-223
             Project: iBatis for .NET
          Issue Type: Improvement
          Components: DataMapper
    Affects Versions: DataMapper 1.6.1
            Reporter: Yao jian


Web site may have parts built on IBatis.NET and legacy parts built on ADO.NET 
directly, the connection string should be stored in only one place instead of 
both SqlMap.config and web.config.

I wish the DomSqlMapBuilder may add a Configure/ConfigureWithWatch method to 
take a connection string as its parameter.

NOTE:
The existing method    
public ISqlMapper Build(XmlDocument document, DataSource dataSource, bool 
useConfigFileWatcher, NameValueCollection properties)
assumes the caller is the DataAccess component, so is not a solution as 
DataAccess is not required for using DataMapper.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to