Exemple #1
0
 private void Proxy_DataStoreSelectData(object sender, DataStoreSelectDataEventArgs e)
 {
     if (TablesDictionary.Count > 0)
     {
         FilterData(e.SelectStatements);
     }
 }
        private void ProxyOnDataStoreSelectData(object sender, DataStoreSelectDataEventArgs dataStoreSelectDataEventArgs)
        {
            var selectStatements = dataStoreSelectDataEventArgs.SelectStatements.Where(statement => _dictionary.ContainsKey(statement.Table.Name));

            foreach (var selectStatement in selectStatements)
            {
                FullTextOperatorProcessor.Process(selectStatement.Condition, _dictionary[selectStatement.Table.Name]);
            }
        }