This commit is contained in:
sunkaixuan 2017-01-28 21:56:15 +08:00
parent 280d682715
commit 3f265d7d61
4 changed files with 31 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,29 @@
using OrmTest.Models;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace OrmTest.ExpressionTest
{
public class Method : ExpTestBase
{
private Method() { }
public Method(int eachCount)
{
this.Count = eachCount;
}
internal void Init()
{
base.Begin();
for (int i = 0; i < base.Count; i++)
{
}
base.End("Method Test");
}
}
}

View File

@ -45,6 +45,7 @@
<ItemGroup>
<Compile Include="ExpressionTest\ExpTestBase.cs" />
<Compile Include="ExpressionTest\Field.cs" />
<Compile Include="ExpressionTest\Method.cs" />
<Compile Include="ExpressionTest\Select.cs" />
<Compile Include="ExpressionTest\Where.cs" />
<Compile Include="Models\School.cs" />

View File

@ -21,6 +21,7 @@ namespace OrmTest
new OrmTest.ExpressionTest.Select(eachCount).Init();
new OrmTest.ExpressionTest.Field(eachCount).Init();
new OrmTest.ExpressionTest.Where(eachCount).Init();
new OrmTest.ExpressionTest.Method(eachCount).Init();
}
}
}