public static void DiscoverAccessedResources(this SqlExpression expression, IDictionary<ObjectName, QueryAccessedResource> tableNames)
 {
     var visitor = new TableNamesVisitor(tableNames);
     visitor.Visit(expression);
 }
 public static void DiscoverTableNames(this SqlExpression expression, IList<ObjectName> tableNames)
 {
     var visitor = new TableNamesVisitor();
     visitor.Visit(expression);
 }
Exemple #3
0
        public static void DiscoverTableNames(this SqlExpression expression, IList <ObjectName> tableNames)
        {
            var visitor = new TableNamesVisitor();

            visitor.Visit(expression);
        }
Exemple #4
0
        public static void DiscoverAccessedResources(this SqlExpression expression, IDictionary <ObjectName, QueryAccessedResource> tableNames)
        {
            var visitor = new TableNamesVisitor(tableNames);

            visitor.Visit(expression);
        }