示例#1
0
 public static IQueryContext <T> Add <T>(this IQueryContext <T> context, Func <IQueryComponent> expression)
 {
     return(context.Add(expression()));
 }
示例#2
0
 public static IQueryContext <T> AddSelect <T>(this IQueryContext <T> context)
 {
     return(context.Add(new QueryComponent(SyntaxComponent.Command, "SELECT")));
 }
示例#3
0
 public static IQueryContext <T> AddFrom <T>(this IQueryContext <T> context)
 {
     return(context.Add(new QueryComponent(SyntaxComponent.Keyword, "FROM")));
 }