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