public void Test_54() { //结果 var result = new String(); result.AppendLine("Select Count(*) "); result.AppendLine("From [Test] "); result.Append("Where [Age]=@_p_0"); //执行 _builder.Count().From("Test").Where("Age", 1); //验证 Assert.Equal(result.ToString(), _builder.ToSql()); }