Exemplo n.º 1
0
 public static SqlExpression <T> TagWithCallSite <T>(this SqlExpression <T> expression,
                                                     [CallerFilePath] string filePath  = null,
                                                     [CallerLineNumber] int lineNumber = 0)
 {
     expression.AddTag($"File: {filePath}:{lineNumber.ToString()}");
     return(expression);
 }
Exemplo n.º 2
0
 public static SqlExpression <T> TagWith <T>(this SqlExpression <T> expression, string tag)
 {
     expression.AddTag(tag);
     return(expression);
 }