public static void Aggregate_Average(SqlGenerator generator, DbExpression exp, Type retType)
 {
     AppendAggregateFunction(generator, exp, retType, "AVG", false);
 }
 public static void DbFunction_DATEDIFF(SqlGenerator generator, string interval, DbExpression startDateTimeExp, DbExpression endDateTimeExp)
 {
     throw new NotSupportedException("DATEDIFF is not supported.");
 }
 public static void Aggregate_LongCount(SqlGenerator generator)
 {
     generator._sqlBuilder.Append("COUNT(1)");
 }
 public DbExpressionVisitor <DbExpression> GetSqlGenerator()
 {
     return(SqlGenerator.CreateInstance());
 }