diff --git a/.vs/SqlSugar/v14/.suo b/.vs/SqlSugar/v14/.suo index f3074a8bd..940330794 100644 Binary files a/.vs/SqlSugar/v14/.suo and b/.vs/SqlSugar/v14/.suo differ diff --git a/OrmTest/ExpressionTest/Method.cs b/OrmTest/ExpressionTest/Method.cs new file mode 100644 index 000000000..9a373f01f --- /dev/null +++ b/OrmTest/ExpressionTest/Method.cs @@ -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"); + } + } +} diff --git a/OrmTest/OrmTest.csproj b/OrmTest/OrmTest.csproj index c286d65e0..cf7b4a415 100644 --- a/OrmTest/OrmTest.csproj +++ b/OrmTest/OrmTest.csproj @@ -45,6 +45,7 @@ + diff --git a/OrmTest/Program.cs b/OrmTest/Program.cs index 7c98f4796..b537bc967 100644 --- a/OrmTest/Program.cs +++ b/OrmTest/Program.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(); } } }