Exemplo n.º 1
0
 public static IReadOnlyCollection <string> GetDataSources(this ISqlNode node)
 {
     return(node.FindOfType <SqlObjectIdentifierNode>().Select(n => n.ToString()).ToList());
 }
Exemplo n.º 2
0
 public static IReadOnlyCollection <string> GetVariableNames(this ISqlNode node)
 {
     return(node.FindOfType <SqlVariableNode>().Select(n => n.Name).ToList());
 }