/// <summary>
 /// Executes a command that returns an XML value.
 /// </summary>
 /// <param name="commandText">The command text.</param>
 /// <param name="parameters">The parameters.</param>
 /// <returns>
 /// An XML reader containing the return value.
 /// </returns>
 public XmlReader ExecuteXmlReader(string commandText, params IParameter[] parameters)
 {
     foreach (ISqlHelperExtension extension in m_Extensions)
     {
         extension.OnExecuteXmlReader(m_SqlHelper, ref commandText, ref parameters);
     }
     return(m_SqlHelper.ExecuteXmlReader(commandText, parameters));
 }
Beispiel #2
0
 public XmlReader ExecuteXmlReader(string commandText, params IParameter[] parameters)
 {
     return(SqlHelper.ExecuteXmlReader(commandText, parameters));
 }