Пример #1
0
 /// <summary>
 /// Add Where to query
 /// </summary>
 /// <param name="fromCommand">From Command instance</param>
 /// <param name="field">Column Name</param>
 /// <returns></returns>
 public static IWhereFilter Where(this ISetOperator fromCommand, string field)
 => fromCommand is IWhereFilter command?command.Where(field) : null;
Пример #2
0
 /// <summary>
 /// Add Where to query
 /// </summary>
 /// <param name="fromCommand">From Command instance</param>
 /// <param name="field">Column Name</param>
 /// <returns></returns>
 public static IWhereFilter Where(this ISetOperator fromCommand, string field)
 => fromCommand.To <WhereFilter>().Where(field);