mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 13:34:32 +08:00
-
This commit is contained in:
parent
280d682715
commit
3f265d7d61
Binary file not shown.
29
OrmTest/ExpressionTest/Method.cs
Normal file
29
OrmTest/ExpressionTest/Method.cs
Normal 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");
|
||||
}
|
||||
}
|
||||
}
|
@ -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" />
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user