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
 Assigned to: Gilles Bayon 
    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

Reply via email to