Esempio n. 1
0
 public static XQueryAdapter Create(DatabaseDictionary dictionary, XmlNameTable nameTable, string commandText)
 {
     if (Factory == null)
         throw new ESQLException(Properties.Resources.XQueryEngineNotImplemented);
     return Factory(dictionary, nameTable, commandText);
 }
Esempio n. 2
0
 private XQueryAdapterImpl(DatabaseDictionary dictionary, XmlNameTable nameTable, string commandText)
 {
     _command = new XQueryCommand(new XQueryDsContext(dictionary, nameTable));
     _command.SearchPath = dictionary.SearchPath;
     _command.CommandText = commandText;
 }
Esempio n. 3
0
 public Command(DatabaseDictionary dictionary)
     : base()
 {
     DatabaseDictionary = dictionary;
 }
Esempio n. 4
0
 public QueryContext(DatabaseDictionary dictionary)
 {
     context = new Dictionary<XmlDocument, DocumentContext>();
     estimate = new Dictionary<TableType, TableEstimate>();
     resources = new List<IDisposable>();
     cancelSource = new CancellationTokenSource();
     NameTable = new NameTable();
     Output = new StringWriter();
     DataCache = new ResultsetCache();
     DatabaseDictionary = dictionary;
     LdapSearchLimit = 0;
     CacheEnabled = true;
 }