[ http://issues.apache.org/jira/browse/IBATISNET-82?page=all ]
Roberto Rabe closed IBATISNET-82:
---------------------------------
Resolution: Fixed
In SVN. Thanks!
> No DomDaoManagerBuilder.Configure method exists for XmlDocuments.
> -----------------------------------------------------------------
>
> Key: IBATISNET-82
> URL: http://issues.apache.org/jira/browse/IBATISNET-82
> Project: iBatis for .NET
> Type: Bug
> Versions: DataAccess 1.6.1
> Environment: IBatisNet source revision 190788.
> Reporter: Chris Weisel
> Assignee: Roberto Rabe
> Priority: Minor
>
> While the DataMapper configuration class (DomSqlMapBuilder) includes a method
> for configuring from an XmlDocument, the DataAccess configuration class
> (DomDaoManagerBuilder) does not. The documentation that comes with
> DataAccess 1.6.1 says that there should be a Configure(XmlDocument document)
> method.
> The following code fixes the issue:
> /// <summary>
> /// Configure DaoManagers from an XmlDocument.
> /// </summary>
> /// <param name="resource">An XmlDocument resource</param>
> public void Configure(XmlDocument document)
> {
> BuildDaoManagers( document, false );
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira