mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-16 07:57:33 +08:00
-
This commit is contained in:
parent
0340d164a2
commit
9562e71cfa
@ -61,7 +61,7 @@
|
|||||||
<Compile Include="PerformanceTesting\PerformanceBase.cs" />
|
<Compile Include="PerformanceTesting\PerformanceBase.cs" />
|
||||||
<Compile Include="PerformanceTesting\SqlSugarPerformance.cs" />
|
<Compile Include="PerformanceTesting\SqlSugarPerformance.cs" />
|
||||||
<Compile Include="UnitTest\Delete.cs" />
|
<Compile Include="UnitTest\Delete.cs" />
|
||||||
<Compile Include="UnitTest\ExpressionTest\ExpTestBase.cs" />
|
<Compile Include="UnitTest\UnitTestBase.cs" />
|
||||||
<Compile Include="UnitTest\ExpressionTest\Field.cs" />
|
<Compile Include="UnitTest\ExpressionTest\Field.cs" />
|
||||||
<Compile Include="UnitTest\Insert.cs" />
|
<Compile Include="UnitTest\Insert.cs" />
|
||||||
<Compile Include="UnitTest\Mapping .cs" />
|
<Compile Include="UnitTest\Mapping .cs" />
|
||||||
|
@ -25,8 +25,8 @@ namespace OrmTest
|
|||||||
//new SingleQuery(1).Init();
|
//new SingleQuery(1).Init();
|
||||||
//new SelectQuery(1).Init();
|
//new SelectQuery(1).Init();
|
||||||
//new AutoClose(1).Init();
|
//new AutoClose(1).Init();
|
||||||
new Insert(1).Init();
|
//new Insert(1).Init();
|
||||||
//new Delete(1).Init();
|
new Delete(1).Init();
|
||||||
//Performance Test
|
//Performance Test
|
||||||
//new SqlSugarPerformance(100).Select();
|
//new SqlSugarPerformance(100).Select();
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace OrmTest
|
namespace OrmTest
|
||||||
{
|
{
|
||||||
public class Delete : ExpTestBase
|
public class Delete : UnitTestBase
|
||||||
{
|
{
|
||||||
private Delete() { }
|
private Delete() { }
|
||||||
public Delete(int eachCount)
|
public Delete(int eachCount)
|
||||||
|
@ -9,7 +9,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace OrmTest.UnitTest
|
namespace OrmTest.UnitTest
|
||||||
{
|
{
|
||||||
public class Field : ExpTestBase
|
public class Field : UnitTestBase
|
||||||
{
|
{
|
||||||
private Field() { }
|
private Field() { }
|
||||||
public Field(int eachCount)
|
public Field(int eachCount)
|
||||||
|
@ -9,7 +9,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace OrmTest.UnitTest
|
namespace OrmTest.UnitTest
|
||||||
{
|
{
|
||||||
public class Method : ExpTestBase
|
public class Method : UnitTestBase
|
||||||
{
|
{
|
||||||
private Method() { }
|
private Method() { }
|
||||||
public Method(int eachCount)
|
public Method(int eachCount)
|
||||||
|
@ -9,7 +9,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace OrmTest.UnitTest
|
namespace OrmTest.UnitTest
|
||||||
{
|
{
|
||||||
public class Select : ExpTestBase
|
public class Select : UnitTestBase
|
||||||
{
|
{
|
||||||
private Select() { }
|
private Select() { }
|
||||||
public Select(int eachCount)
|
public Select(int eachCount)
|
||||||
|
@ -9,7 +9,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace OrmTest.UnitTest
|
namespace OrmTest.UnitTest
|
||||||
{
|
{
|
||||||
public class Where : ExpTestBase
|
public class Where : UnitTestBase
|
||||||
{
|
{
|
||||||
private Where() { }
|
private Where() { }
|
||||||
public Where(int eachCount)
|
public Where(int eachCount)
|
||||||
|
@ -8,7 +8,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace OrmTest.UnitTest
|
namespace OrmTest.UnitTest
|
||||||
{
|
{
|
||||||
public class Insert : ExpTestBase
|
public class Insert : UnitTestBase
|
||||||
{
|
{
|
||||||
private Insert() { }
|
private Insert() { }
|
||||||
public Insert(int eachCount)
|
public Insert(int eachCount)
|
||||||
|
@ -8,7 +8,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace OrmTest.UnitTest
|
namespace OrmTest.UnitTest
|
||||||
{
|
{
|
||||||
public class Mapping:ExpTestBase
|
public class Mapping:UnitTestBase
|
||||||
{
|
{
|
||||||
private Mapping() { }
|
private Mapping() { }
|
||||||
public Mapping(int eachCount)
|
public Mapping(int eachCount)
|
||||||
|
@ -8,7 +8,7 @@ using System.Linq.Expressions;
|
|||||||
using OrmTest.Models;
|
using OrmTest.Models;
|
||||||
namespace OrmTest.UnitTest
|
namespace OrmTest.UnitTest
|
||||||
{
|
{
|
||||||
public class JoinQuery : ExpTestBase
|
public class JoinQuery : UnitTestBase
|
||||||
{
|
{
|
||||||
private JoinQuery() { }
|
private JoinQuery() { }
|
||||||
public JoinQuery(int eachCount)
|
public JoinQuery(int eachCount)
|
||||||
|
@ -8,7 +8,7 @@ using System.Linq.Expressions;
|
|||||||
using OrmTest.Models;
|
using OrmTest.Models;
|
||||||
namespace OrmTest.UnitTest
|
namespace OrmTest.UnitTest
|
||||||
{
|
{
|
||||||
public class SelectQuery : ExpTestBase
|
public class SelectQuery : UnitTestBase
|
||||||
{
|
{
|
||||||
private SelectQuery() { }
|
private SelectQuery() { }
|
||||||
public SelectQuery(int eachCount)
|
public SelectQuery(int eachCount)
|
||||||
|
@ -8,7 +8,7 @@ using System.Linq.Expressions;
|
|||||||
using OrmTest.Models;
|
using OrmTest.Models;
|
||||||
namespace OrmTest.UnitTest
|
namespace OrmTest.UnitTest
|
||||||
{
|
{
|
||||||
public class SingleQuery : ExpTestBase
|
public class SingleQuery : UnitTestBase
|
||||||
{
|
{
|
||||||
private SingleQuery() { }
|
private SingleQuery() { }
|
||||||
public SingleQuery(int eachCount)
|
public SingleQuery(int eachCount)
|
||||||
|
@ -6,7 +6,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace OrmTest.UnitTest
|
namespace OrmTest.UnitTest
|
||||||
{
|
{
|
||||||
public class Attribute : ExpTestBase
|
public class Attribute : UnitTestBase
|
||||||
{
|
{
|
||||||
public Attribute(int eachCount)
|
public Attribute(int eachCount)
|
||||||
{
|
{
|
||||||
|
@ -8,7 +8,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace OrmTest.UnitTest
|
namespace OrmTest.UnitTest
|
||||||
{
|
{
|
||||||
public class AutoClose : ExpTestBase
|
public class AutoClose : UnitTestBase
|
||||||
{
|
{
|
||||||
public AutoClose(int eachCount)
|
public AutoClose(int eachCount)
|
||||||
{
|
{
|
||||||
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace OrmTest.UnitTest
|
namespace OrmTest.UnitTest
|
||||||
{
|
{
|
||||||
public class MapColumn : ExpTestBase
|
public class MapColumn : UnitTestBase
|
||||||
{
|
{
|
||||||
public SqlSugarClient GetInstance()
|
public SqlSugarClient GetInstance()
|
||||||
{
|
{
|
||||||
|
@ -8,7 +8,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace OrmTest.UnitTest
|
namespace OrmTest.UnitTest
|
||||||
{
|
{
|
||||||
public class MapTable : ExpTestBase
|
public class MapTable : UnitTestBase
|
||||||
{
|
{
|
||||||
public void Init()
|
public void Init()
|
||||||
{
|
{
|
||||||
|
@ -4,7 +4,7 @@ using SqlSugar;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
namespace OrmTest.UnitTest
|
namespace OrmTest.UnitTest
|
||||||
{
|
{
|
||||||
public class ExpTestBase
|
public class UnitTestBase
|
||||||
{
|
{
|
||||||
public int Count { get; set; }
|
public int Count { get; set; }
|
||||||
private DateTime BeginTime { get; set; }
|
private DateTime BeginTime { get; set; }
|
Loading…
Reference in New Issue
Block a user