using System.Linq.Expressions; namespace SqlSugar { public class SubCount: ISubOperation { public string Name { get { return "Count"; } } public Expression Expression { get; set; } public int Sort { get { return 200; } } public ExpressionContext Context { get; set; } public string GetValue(Expression expression) { return "COUNT(*)"; } } }