Browse Source

Update Demo

pull/12/MERGE
sunkaixuan 6 years ago
parent
commit
53e9453168
  1. 0
      Src/Asp.Net/SqlServerTest/OldTest/BugTest/Bug1.cs
  2. 0
      Src/Asp.Net/SqlServerTest/OldTest/BugTest/Bug2.cs
  3. 0
      Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/AccountsModel.cs
  4. 0
      Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/ClientsModel.cs
  5. 0
      Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/ExposureModel.cs
  6. 0
      Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/JewelsModel.cs
  7. 0
      Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/LevelSettingModel.cs
  8. 0
      Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/TStock.cs
  9. 0
      Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/TTempStock.cs
  10. 0
      Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/VMaterialInfo.cs
  11. 0
      Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/VipAccountsModel.cs
  12. 0
      Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/VipBenefitsModel.cs
  13. 0
      Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/h5linkpassloginfo.cs
  14. 0
      Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/logtype.cs
  15. 0
      Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/tLogonHistoryModel.cs
  16. 0
      Src/Asp.Net/SqlServerTest/OldTest/DataBase/script.sql
  17. 0
      Src/Asp.Net/SqlServerTest/OldTest/Demos/1_Query.cs
  18. 0
      Src/Asp.Net/SqlServerTest/OldTest/Demos/2_Update.cs
  19. 0
      Src/Asp.Net/SqlServerTest/OldTest/Demos/3_Insert.cs
  20. 0
      Src/Asp.Net/SqlServerTest/OldTest/Demos/4_Delete.cs
  21. 0
      Src/Asp.Net/SqlServerTest/OldTest/Demos/5_CodeFirst.cs
  22. 0
      Src/Asp.Net/SqlServerTest/OldTest/Demos/5_DbFirst.cs
  23. 0
      Src/Asp.Net/SqlServerTest/OldTest/Demos/6_ComplexModel.cs
  24. 0
      Src/Asp.Net/SqlServerTest/OldTest/Demos/7_Filter.cs
  25. 0
      Src/Asp.Net/SqlServerTest/OldTest/Demos/8_JoinSql.cs
  26. 0
      Src/Asp.Net/SqlServerTest/OldTest/Demos/9_Aop.cs
  27. 0
      Src/Asp.Net/SqlServerTest/OldTest/Demos/A_MasterSlave.cs
  28. 0
      Src/Asp.Net/SqlServerTest/OldTest/Demos/B_SharedConnection.cs
  29. 0
      Src/Asp.Net/SqlServerTest/OldTest/Demos/C_ExtSqlFun.cs
  30. 0
      Src/Asp.Net/SqlServerTest/OldTest/Demos/D_QueryableView.cs
  31. 0
      Src/Asp.Net/SqlServerTest/OldTest/Demos/E_Attribute.cs
  32. 0
      Src/Asp.Net/SqlServerTest/OldTest/Demos/F_VersionValidation.cs
  33. 0
      Src/Asp.Net/SqlServerTest/OldTest/Demos/G_Mapper.cs
  34. 0
      Src/Asp.Net/SqlServerTest/OldTest/Demos/H_ExtEntity.cs
  35. 0
      Src/Asp.Net/SqlServerTest/OldTest/Demos/H_Queue.cs
  36. 0
      Src/Asp.Net/SqlServerTest/OldTest/Demos/I_InsertOrUpdate.cs
  37. 0
      Src/Asp.Net/SqlServerTest/OldTest/Demos/J_Debugger.cs
  38. 0
      Src/Asp.Net/SqlServerTest/OldTest/Demos/K_MultiClient.cs
  39. 0
      Src/Asp.Net/SqlServerTest/OldTest/Demos/Z_DemoBase.cs
  40. 0
      Src/Asp.Net/SqlServerTest/OldTest/Models/Brand.cs
  41. 0
      Src/Asp.Net/SqlServerTest/OldTest/Models/CapitalEntity.cs
  42. 0
      Src/Asp.Net/SqlServerTest/OldTest/Models/DataTestInfo.cs
  43. 0
      Src/Asp.Net/SqlServerTest/OldTest/Models/DataTestInfo2.cs
  44. 0
      Src/Asp.Net/SqlServerTest/OldTest/Models/Enum.cs
  45. 0
      Src/Asp.Net/SqlServerTest/OldTest/Models/School.cs
  46. 0
      Src/Asp.Net/SqlServerTest/OldTest/Models/Student.cs
  47. 0
      Src/Asp.Net/SqlServerTest/OldTest/Models/VendorAndBrand.cs
  48. 0
      Src/Asp.Net/SqlServerTest/OldTest/Models/ViewModelStudent.cs
  49. 61
      Src/Asp.Net/SqlServerTest/OldTest/OldTestMain.cs
  50. 0
      Src/Asp.Net/SqlServerTest/OldTest/OtherDll/SyntacticSugar.dll
  51. 0
      Src/Asp.Net/SqlServerTest/OldTest/PerformanceTesting/PerformanceBase.cs
  52. 0
      Src/Asp.Net/SqlServerTest/OldTest/PerformanceTesting/SqlSugarPerformance.cs
  53. 0
      Src/Asp.Net/SqlServerTest/OldTest/T4/SugarTemplate.tt
  54. 0
      Src/Asp.Net/SqlServerTest/OldTest/T4/SugarTemplate1.cs
  55. 0
      Src/Asp.Net/SqlServerTest/OldTest/T4/SugarTemplate2.cs
  56. 0
      Src/Asp.Net/SqlServerTest/OldTest/UnitTest/DataTest.cs
  57. 0
      Src/Asp.Net/SqlServerTest/OldTest/UnitTest/DataTest2.cs
  58. 0
      Src/Asp.Net/SqlServerTest/OldTest/UnitTest/Delete.cs
  59. 0
      Src/Asp.Net/SqlServerTest/OldTest/UnitTest/EnumTest.cs
  60. 0
      Src/Asp.Net/SqlServerTest/OldTest/UnitTest/ExpressionTest/Field.cs
  61. 0
      Src/Asp.Net/SqlServerTest/OldTest/UnitTest/ExpressionTest/Method.cs
  62. 0
      Src/Asp.Net/SqlServerTest/OldTest/UnitTest/ExpressionTest/Select.cs
  63. 0
      Src/Asp.Net/SqlServerTest/OldTest/UnitTest/ExpressionTest/Where.cs
  64. 0
      Src/Asp.Net/SqlServerTest/OldTest/UnitTest/Insert.cs
  65. 0
      Src/Asp.Net/SqlServerTest/OldTest/UnitTest/Mapping .cs
  66. 0
      Src/Asp.Net/SqlServerTest/OldTest/UnitTest/Query/JoinQuery.cs
  67. 0
      Src/Asp.Net/SqlServerTest/OldTest/UnitTest/Query/SelectQuery.cs
  68. 0
      Src/Asp.Net/SqlServerTest/OldTest/UnitTest/Query/SingleQuery.cs
  69. 0
      Src/Asp.Net/SqlServerTest/OldTest/UnitTest/Setting/Attribute.cs
  70. 0
      Src/Asp.Net/SqlServerTest/OldTest/UnitTest/Setting/AutoClose.cs
  71. 0
      Src/Asp.Net/SqlServerTest/OldTest/UnitTest/Setting/MapColumn.cs
  72. 0
      Src/Asp.Net/SqlServerTest/OldTest/UnitTest/Setting/MapTable.cs
  73. 0
      Src/Asp.Net/SqlServerTest/OldTest/UnitTest/SqlRemark.cs
  74. 0
      Src/Asp.Net/SqlServerTest/OldTest/UnitTest/UnitTestBase.cs
  75. 0
      Src/Asp.Net/SqlServerTest/OldTest/UnitTest/Update.cs
  76. 49
      Src/Asp.Net/SqlServerTest/Program.cs
  77. 147
      Src/Asp.Net/SqlServerTest/SqlServerTest.csproj
  78. 1
      Src/Asp.Net/SqlServerTest/T4/SugarTemplate2.cs

0
Src/Asp.Net/SqlServerTest/BugTest/Bug1.cs → Src/Asp.Net/SqlServerTest/OldTest/BugTest/Bug1.cs

0
Src/Asp.Net/SqlServerTest/BugTest/Bug2.cs → Src/Asp.Net/SqlServerTest/OldTest/BugTest/Bug2.cs

0
Src/Asp.Net/SqlServerTest/BugTest/BugModels/AccountsModel.cs → Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/AccountsModel.cs

0
Src/Asp.Net/SqlServerTest/BugTest/BugModels/ClientsModel.cs → Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/ClientsModel.cs

0
Src/Asp.Net/SqlServerTest/BugTest/BugModels/ExposureModel.cs → Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/ExposureModel.cs

0
Src/Asp.Net/SqlServerTest/BugTest/BugModels/JewelsModel.cs → Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/JewelsModel.cs

0
Src/Asp.Net/SqlServerTest/BugTest/BugModels/LevelSettingModel.cs → Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/LevelSettingModel.cs

0
Src/Asp.Net/SqlServerTest/BugTest/BugModels/TStock.cs → Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/TStock.cs

0
Src/Asp.Net/SqlServerTest/BugTest/BugModels/TTempStock.cs → Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/TTempStock.cs

0
Src/Asp.Net/SqlServerTest/BugTest/BugModels/VMaterialInfo.cs → Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/VMaterialInfo.cs

0
Src/Asp.Net/SqlServerTest/BugTest/BugModels/VipAccountsModel.cs → Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/VipAccountsModel.cs

0
Src/Asp.Net/SqlServerTest/BugTest/BugModels/VipBenefitsModel.cs → Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/VipBenefitsModel.cs

0
Src/Asp.Net/SqlServerTest/BugTest/BugModels/h5linkpassloginfo.cs → Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/h5linkpassloginfo.cs

0
Src/Asp.Net/SqlServerTest/BugTest/BugModels/logtype.cs → Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/logtype.cs

0
Src/Asp.Net/SqlServerTest/BugTest/BugModels/tLogonHistoryModel.cs → Src/Asp.Net/SqlServerTest/OldTest/BugTest/BugModels/tLogonHistoryModel.cs

0
Src/Asp.Net/SqlServerTest/DataBase/script.sql → Src/Asp.Net/SqlServerTest/OldTest/DataBase/script.sql

0
Src/Asp.Net/SqlServerTest/Demos/1_Query.cs → Src/Asp.Net/SqlServerTest/OldTest/Demos/1_Query.cs

0
Src/Asp.Net/SqlServerTest/Demos/2_Update.cs → Src/Asp.Net/SqlServerTest/OldTest/Demos/2_Update.cs

0
Src/Asp.Net/SqlServerTest/Demos/3_Insert.cs → Src/Asp.Net/SqlServerTest/OldTest/Demos/3_Insert.cs

0
Src/Asp.Net/SqlServerTest/Demos/4_Delete.cs → Src/Asp.Net/SqlServerTest/OldTest/Demos/4_Delete.cs

0
Src/Asp.Net/SqlServerTest/Demos/5_CodeFirst.cs → Src/Asp.Net/SqlServerTest/OldTest/Demos/5_CodeFirst.cs

0
Src/Asp.Net/SqlServerTest/Demos/5_DbFirst.cs → Src/Asp.Net/SqlServerTest/OldTest/Demos/5_DbFirst.cs

0
Src/Asp.Net/SqlServerTest/Demos/6_ComplexModel.cs → Src/Asp.Net/SqlServerTest/OldTest/Demos/6_ComplexModel.cs

0
Src/Asp.Net/SqlServerTest/Demos/7_Filter.cs → Src/Asp.Net/SqlServerTest/OldTest/Demos/7_Filter.cs

0
Src/Asp.Net/SqlServerTest/Demos/8_JoinSql.cs → Src/Asp.Net/SqlServerTest/OldTest/Demos/8_JoinSql.cs

0
Src/Asp.Net/SqlServerTest/Demos/9_Aop.cs → Src/Asp.Net/SqlServerTest/OldTest/Demos/9_Aop.cs

0
Src/Asp.Net/SqlServerTest/Demos/A_MasterSlave.cs → Src/Asp.Net/SqlServerTest/OldTest/Demos/A_MasterSlave.cs

0
Src/Asp.Net/SqlServerTest/Demos/B_SharedConnection.cs → Src/Asp.Net/SqlServerTest/OldTest/Demos/B_SharedConnection.cs

0
Src/Asp.Net/SqlServerTest/Demos/C_ExtSqlFun.cs → Src/Asp.Net/SqlServerTest/OldTest/Demos/C_ExtSqlFun.cs

0
Src/Asp.Net/SqlServerTest/Demos/D_QueryableView.cs → Src/Asp.Net/SqlServerTest/OldTest/Demos/D_QueryableView.cs

0
Src/Asp.Net/SqlServerTest/Demos/E_Attribute.cs → Src/Asp.Net/SqlServerTest/OldTest/Demos/E_Attribute.cs

0
Src/Asp.Net/SqlServerTest/Demos/F_VersionValidation.cs → Src/Asp.Net/SqlServerTest/OldTest/Demos/F_VersionValidation.cs

0
Src/Asp.Net/SqlServerTest/Demos/G_Mapper.cs → Src/Asp.Net/SqlServerTest/OldTest/Demos/G_Mapper.cs

0
Src/Asp.Net/SqlServerTest/Demos/H_ExtEntity.cs → Src/Asp.Net/SqlServerTest/OldTest/Demos/H_ExtEntity.cs

0
Src/Asp.Net/SqlServerTest/Demos/H_Queue.cs → Src/Asp.Net/SqlServerTest/OldTest/Demos/H_Queue.cs

0
Src/Asp.Net/SqlServerTest/Demos/I_InsertOrUpdate.cs → Src/Asp.Net/SqlServerTest/OldTest/Demos/I_InsertOrUpdate.cs

0
Src/Asp.Net/SqlServerTest/Demos/J_Debugger.cs → Src/Asp.Net/SqlServerTest/OldTest/Demos/J_Debugger.cs

0
Src/Asp.Net/SqlServerTest/Demos/K_MultiClient.cs → Src/Asp.Net/SqlServerTest/OldTest/Demos/K_MultiClient.cs

0
Src/Asp.Net/SqlServerTest/Demos/Z_DemoBase.cs → Src/Asp.Net/SqlServerTest/OldTest/Demos/Z_DemoBase.cs

0
Src/Asp.Net/SqlServerTest/Models/Brand.cs → Src/Asp.Net/SqlServerTest/OldTest/Models/Brand.cs

0
Src/Asp.Net/SqlServerTest/Models/CapitalEntity.cs → Src/Asp.Net/SqlServerTest/OldTest/Models/CapitalEntity.cs

0
Src/Asp.Net/SqlServerTest/Models/DataTestInfo.cs → Src/Asp.Net/SqlServerTest/OldTest/Models/DataTestInfo.cs

0
Src/Asp.Net/SqlServerTest/Models/DataTestInfo2.cs → Src/Asp.Net/SqlServerTest/OldTest/Models/DataTestInfo2.cs

0
Src/Asp.Net/SqlServerTest/Models/Enum.cs → Src/Asp.Net/SqlServerTest/OldTest/Models/Enum.cs

0
Src/Asp.Net/SqlServerTest/Models/School.cs → Src/Asp.Net/SqlServerTest/OldTest/Models/School.cs

0
Src/Asp.Net/SqlServerTest/Models/Student.cs → Src/Asp.Net/SqlServerTest/OldTest/Models/Student.cs

0
Src/Asp.Net/SqlServerTest/Models/VendorAndBrand.cs → Src/Asp.Net/SqlServerTest/OldTest/Models/VendorAndBrand.cs

0
Src/Asp.Net/SqlServerTest/Models/ViewModelStudent.cs → Src/Asp.Net/SqlServerTest/OldTest/Models/ViewModelStudent.cs

61
Src/Asp.Net/SqlServerTest/OldTest/OldTestMain.cs

@ -0,0 +1,61 @@
using OrmTest.PerformanceTesting;
using OrmTest.UnitTest;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OrmTest
{
public class OldTestMain
{
public static void Init()
{
/***BUG repair test***/
new BugTest.Bug1().Init();
new BugTest.Bug2().Init();
/***Unit Test***/
new SqlRemark(2).Init();
new Select(1).Init();
new Field(1).Init();
new Where(1).Init();
new Method(1).Init();
new JoinQuery(1).Init();
new SingleQuery(1).Init();
new SelectQuery(1).Init();
new AutoClose(1).Init();
new Insert(1).Init();
new Delete(1).Init();
new Update(1).Init();
new Mapping(1).Init();
new DataTest(1).Init();
new EnumTest(1).Init();
/***Performance Test***/
new SqlSugarPerformance(10).Select();
/***Demo***/
Demo.Insert.Init();
Demo.Query.Init();
Demo.Update.Init();
Demo.DbFirst.Init();
Demo.JoinSql.Init();
Demo.Filter.Init();
Demo.ComplexModel.Init();
Demo.CodeFirst.Init();
Demo.Aop.Init();
Demo.MasterSlave.Init();
Demo.SharedConnection.Init();
Demo.ExtSqlFun.Init();
Demo.QueryableView.Init();
Demo.AttributeDemo.Init();
Demo.Mapper.Init();
Demo.ExtEntity.Init();
Demo.VersionValidation.Init();
Demo.Delete.Init();
Demo.InsertOrUpdate.Init();
Demo.Debugger.Init();
Demo.Queue.Init();
}
}
}

0
Src/Asp.Net/SqlServerTest/OtherDll/SyntacticSugar.dll → Src/Asp.Net/SqlServerTest/OldTest/OtherDll/SyntacticSugar.dll

0
Src/Asp.Net/SqlServerTest/PerformanceTesting/PerformanceBase.cs → Src/Asp.Net/SqlServerTest/OldTest/PerformanceTesting/PerformanceBase.cs

0
Src/Asp.Net/SqlServerTest/PerformanceTesting/SqlSugarPerformance.cs → Src/Asp.Net/SqlServerTest/OldTest/PerformanceTesting/SqlSugarPerformance.cs

0
Src/Asp.Net/SqlServerTest/T4/SugarTemplate.tt → Src/Asp.Net/SqlServerTest/OldTest/T4/SugarTemplate.tt

0
Src/Asp.Net/SqlServerTest/T4/SugarTemplate1.cs → Src/Asp.Net/SqlServerTest/OldTest/T4/SugarTemplate1.cs

0
Src/Asp.Net/SqlServerTest/OldTest/T4/SugarTemplate2.cs

0
Src/Asp.Net/SqlServerTest/UnitTest/DataTest.cs → Src/Asp.Net/SqlServerTest/OldTest/UnitTest/DataTest.cs

0
Src/Asp.Net/SqlServerTest/UnitTest/DataTest2.cs → Src/Asp.Net/SqlServerTest/OldTest/UnitTest/DataTest2.cs

0
Src/Asp.Net/SqlServerTest/UnitTest/Delete.cs → Src/Asp.Net/SqlServerTest/OldTest/UnitTest/Delete.cs

0
Src/Asp.Net/SqlServerTest/UnitTest/EnumTest.cs → Src/Asp.Net/SqlServerTest/OldTest/UnitTest/EnumTest.cs

0
Src/Asp.Net/SqlServerTest/UnitTest/ExpressionTest/Field.cs → Src/Asp.Net/SqlServerTest/OldTest/UnitTest/ExpressionTest/Field.cs

0
Src/Asp.Net/SqlServerTest/UnitTest/ExpressionTest/Method.cs → Src/Asp.Net/SqlServerTest/OldTest/UnitTest/ExpressionTest/Method.cs

0
Src/Asp.Net/SqlServerTest/UnitTest/ExpressionTest/Select.cs → Src/Asp.Net/SqlServerTest/OldTest/UnitTest/ExpressionTest/Select.cs

0
Src/Asp.Net/SqlServerTest/UnitTest/ExpressionTest/Where.cs → Src/Asp.Net/SqlServerTest/OldTest/UnitTest/ExpressionTest/Where.cs

0
Src/Asp.Net/SqlServerTest/UnitTest/Insert.cs → Src/Asp.Net/SqlServerTest/OldTest/UnitTest/Insert.cs

0
Src/Asp.Net/SqlServerTest/UnitTest/Mapping .cs → Src/Asp.Net/SqlServerTest/OldTest/UnitTest/Mapping .cs

0
Src/Asp.Net/SqlServerTest/UnitTest/Query/JoinQuery.cs → Src/Asp.Net/SqlServerTest/OldTest/UnitTest/Query/JoinQuery.cs

0
Src/Asp.Net/SqlServerTest/UnitTest/Query/SelectQuery.cs → Src/Asp.Net/SqlServerTest/OldTest/UnitTest/Query/SelectQuery.cs

0
Src/Asp.Net/SqlServerTest/UnitTest/Query/SingleQuery.cs → Src/Asp.Net/SqlServerTest/OldTest/UnitTest/Query/SingleQuery.cs

0
Src/Asp.Net/SqlServerTest/UnitTest/Setting/Attribute.cs → Src/Asp.Net/SqlServerTest/OldTest/UnitTest/Setting/Attribute.cs

0
Src/Asp.Net/SqlServerTest/UnitTest/Setting/AutoClose.cs → Src/Asp.Net/SqlServerTest/OldTest/UnitTest/Setting/AutoClose.cs

0
Src/Asp.Net/SqlServerTest/UnitTest/Setting/MapColumn.cs → Src/Asp.Net/SqlServerTest/OldTest/UnitTest/Setting/MapColumn.cs

0
Src/Asp.Net/SqlServerTest/UnitTest/Setting/MapTable.cs → Src/Asp.Net/SqlServerTest/OldTest/UnitTest/Setting/MapTable.cs

0
Src/Asp.Net/SqlServerTest/UnitTest/SqlRemark.cs → Src/Asp.Net/SqlServerTest/OldTest/UnitTest/SqlRemark.cs

0
Src/Asp.Net/SqlServerTest/UnitTest/UnitTestBase.cs → Src/Asp.Net/SqlServerTest/OldTest/UnitTest/UnitTestBase.cs

0
Src/Asp.Net/SqlServerTest/UnitTest/Update.cs → Src/Asp.Net/SqlServerTest/OldTest/UnitTest/Update.cs

49
Src/Asp.Net/SqlServerTest/Program.cs

@ -8,55 +8,12 @@ namespace OrmTest
{
static void Main(string[] args)
{
/***BUG repair test***/
new BugTest.Bug1().Init();
new BugTest.Bug2().Init();
/***Unit Test***/
new SqlRemark(2).Init();
new Select(1).Init();
new Field(1).Init();
new Where(1).Init();
new Method(1).Init();
new JoinQuery(1).Init();
new SingleQuery(1).Init();
new SelectQuery(1).Init();
new AutoClose(1).Init();
new Insert(1).Init();
new Delete(1).Init();
new Update(1).Init();
new Mapping(1).Init();
new DataTest(1).Init();
new EnumTest(1).Init();
/***Performance Test***/
new SqlSugarPerformance(10).Select();
/***Demo***/
Demo.Insert.Init();
Demo.Query.Init();
Demo.Update.Init();
Demo.DbFirst.Init();
Demo.JoinSql.Init();
Demo.Filter.Init();
Demo.ComplexModel.Init();
Demo.CodeFirst.Init();
Demo.Aop.Init();
Demo.MasterSlave.Init();
Demo.SharedConnection.Init();
Demo.ExtSqlFun.Init();
Demo.QueryableView.Init();
Demo.AttributeDemo.Init();
Demo.Mapper.Init();
Demo.ExtEntity.Init();
Demo.VersionValidation.Init();
Demo.Delete.Init();
Demo.InsertOrUpdate.Init();
Demo.Debugger.Init();
Demo.Queue.Init();
//OldTestMain.Init();
Console.WriteLine("all successfully.");
Console.ReadKey();
}
}
}

147
Src/Asp.Net/SqlServerTest/SqlServerTest.csproj

@ -49,83 +49,84 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="BugTest\Bug2.cs" />
<Compile Include="BugTest\BugModels\AccountsModel.cs" />
<Compile Include="BugTest\BugModels\ClientsModel.cs" />
<Compile Include="BugTest\BugModels\ExposureModel.cs" />
<Compile Include="BugTest\BugModels\h5linkpassloginfo.cs" />
<Compile Include="BugTest\BugModels\JewelsModel.cs" />
<Compile Include="BugTest\BugModels\LevelSettingModel.cs" />
<Compile Include="BugTest\BugModels\logtype.cs" />
<Compile Include="BugTest\BugModels\tLogonHistoryModel.cs" />
<Compile Include="BugTest\BugModels\VipAccountsModel.cs" />
<Compile Include="BugTest\BugModels\VipBenefitsModel.cs" />
<Compile Include="BugTest\BugModels\TStock.cs" />
<Compile Include="BugTest\BugModels\TTempStock.cs" />
<Compile Include="BugTest\BugModels\VMaterialInfo.cs" />
<Compile Include="Demos\H_Queue.cs" />
<Compile Include="Demos\I_InsertOrUpdate.cs" />
<Compile Include="Demos\J_Debugger.cs" />
<Compile Include="Demos\K_MultiClient.cs" />
<Compile Include="Models\Brand.cs" />
<Compile Include="BugTest\Bug1.cs" />
<Compile Include="Models\VendorAndBrand.cs" />
<Compile Include="Demos\F_VersionValidation.cs" />
<Compile Include="Demos\G_Mapper.cs" />
<Compile Include="Demos\H_ExtEntity.cs" />
<Compile Include="Models\CapitalEntity.cs" />
<Compile Include="OldTest\BugTest\Bug2.cs" />
<Compile Include="OldTest\BugTest\BugModels\AccountsModel.cs" />
<Compile Include="OldTest\BugTest\BugModels\ClientsModel.cs" />
<Compile Include="OldTest\BugTest\BugModels\ExposureModel.cs" />
<Compile Include="OldTest\BugTest\BugModels\h5linkpassloginfo.cs" />
<Compile Include="OldTest\BugTest\BugModels\JewelsModel.cs" />
<Compile Include="OldTest\BugTest\BugModels\LevelSettingModel.cs" />
<Compile Include="OldTest\BugTest\BugModels\logtype.cs" />
<Compile Include="OldTest\BugTest\BugModels\tLogonHistoryModel.cs" />
<Compile Include="OldTest\BugTest\BugModels\VipAccountsModel.cs" />
<Compile Include="OldTest\BugTest\BugModels\VipBenefitsModel.cs" />
<Compile Include="OldTest\BugTest\BugModels\TStock.cs" />
<Compile Include="OldTest\BugTest\BugModels\TTempStock.cs" />
<Compile Include="OldTest\BugTest\BugModels\VMaterialInfo.cs" />
<Compile Include="OldTest\Demos\H_Queue.cs" />
<Compile Include="OldTest\Demos\I_InsertOrUpdate.cs" />
<Compile Include="OldTest\Demos\J_Debugger.cs" />
<Compile Include="OldTest\Demos\K_MultiClient.cs" />
<Compile Include="OldTest\Models\Brand.cs" />
<Compile Include="OldTest\BugTest\Bug1.cs" />
<Compile Include="OldTest\Models\VendorAndBrand.cs" />
<Compile Include="OldTest\Demos\F_VersionValidation.cs" />
<Compile Include="OldTest\Demos\G_Mapper.cs" />
<Compile Include="OldTest\Demos\H_ExtEntity.cs" />
<Compile Include="OldTest\Models\CapitalEntity.cs" />
<Compile Include="Config.cs" />
<Compile Include="Demos\5_CodeFirst.cs" />
<Compile Include="Demos\6_ComplexModel.cs" />
<Compile Include="Demos\7_Filter.cs" />
<Compile Include="Demos\8_JoinSql.cs" />
<Compile Include="Demos\5_DbFirst.cs" />
<Compile Include="Demos\4_Delete.cs" />
<Compile Include="Demos\9_Aop.cs" />
<Compile Include="Demos\B_SharedConnection.cs" />
<Compile Include="Demos\C_ExtSqlFun.cs" />
<Compile Include="Demos\Z_DemoBase.cs" />
<Compile Include="Demos\3_Insert.cs" />
<Compile Include="Demos\1_Query.cs" />
<Compile Include="Demos\2_Update.cs" />
<Compile Include="Demos\A_MasterSlave.cs" />
<Compile Include="Demos\D_QueryableView.cs" />
<Compile Include="Demos\E_Attribute.cs" />
<Compile Include="Models\DataTestInfo.cs" />
<Compile Include="Models\DataTestInfo2.cs" />
<Compile Include="Models\Enum.cs" />
<Compile Include="Models\ViewModelStudent.cs" />
<Compile Include="PerformanceTesting\PerformanceBase.cs" />
<Compile Include="PerformanceTesting\SqlSugarPerformance.cs" />
<Compile Include="T4\SugarTemplate1.cs" />
<Compile Include="T4\SugarTemplate2.cs">
<Compile Include="OldTest\Demos\5_CodeFirst.cs" />
<Compile Include="OldTest\Demos\6_ComplexModel.cs" />
<Compile Include="OldTest\Demos\7_Filter.cs" />
<Compile Include="OldTest\Demos\8_JoinSql.cs" />
<Compile Include="OldTest\Demos\5_DbFirst.cs" />
<Compile Include="OldTest\Demos\4_Delete.cs" />
<Compile Include="OldTest\Demos\9_Aop.cs" />
<Compile Include="OldTest\Demos\B_SharedConnection.cs" />
<Compile Include="OldTest\Demos\C_ExtSqlFun.cs" />
<Compile Include="OldTest\Demos\Z_DemoBase.cs" />
<Compile Include="OldTest\Demos\3_Insert.cs" />
<Compile Include="OldTest\Demos\1_Query.cs" />
<Compile Include="OldTest\Demos\2_Update.cs" />
<Compile Include="OldTest\Demos\A_MasterSlave.cs" />
<Compile Include="OldTest\Demos\D_QueryableView.cs" />
<Compile Include="OldTest\Demos\E_Attribute.cs" />
<Compile Include="OldTest\Models\DataTestInfo.cs" />
<Compile Include="OldTest\Models\DataTestInfo2.cs" />
<Compile Include="OldTest\Models\Enum.cs" />
<Compile Include="OldTest\Models\ViewModelStudent.cs" />
<Compile Include="OldTest\OldTestMain.cs" />
<Compile Include="OldTest\PerformanceTesting\PerformanceBase.cs" />
<Compile Include="OldTest\PerformanceTesting\SqlSugarPerformance.cs" />
<Compile Include="OldTest\T4\SugarTemplate1.cs" />
<Compile Include="OldTest\T4\SugarTemplate2.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>SugarTemplate.tt</DependentUpon>
</Compile>
<Compile Include="UnitTest\DataTest.cs" />
<Compile Include="UnitTest\Delete.cs" />
<Compile Include="UnitTest\EnumTest.cs" />
<Compile Include="UnitTest\SqlRemark.cs" />
<Compile Include="UnitTest\UnitTestBase.cs" />
<Compile Include="UnitTest\ExpressionTest\Field.cs" />
<Compile Include="UnitTest\Insert.cs" />
<Compile Include="UnitTest\Mapping .cs" />
<Compile Include="UnitTest\Query\JoinQuery.cs" />
<Compile Include="UnitTest\ExpressionTest\Method.cs" />
<Compile Include="UnitTest\ExpressionTest\Select.cs" />
<Compile Include="UnitTest\Query\SelectQuery.cs" />
<Compile Include="UnitTest\Query\SingleQuery.cs" />
<Compile Include="UnitTest\ExpressionTest\Where.cs" />
<Compile Include="Models\School.cs" />
<Compile Include="Models\Student.cs" />
<Compile Include="OldTest\UnitTest\DataTest.cs" />
<Compile Include="OldTest\UnitTest\Delete.cs" />
<Compile Include="OldTest\UnitTest\EnumTest.cs" />
<Compile Include="OldTest\UnitTest\SqlRemark.cs" />
<Compile Include="OldTest\UnitTest\UnitTestBase.cs" />
<Compile Include="OldTest\UnitTest\ExpressionTest\Field.cs" />
<Compile Include="OldTest\UnitTest\Insert.cs" />
<Compile Include="OldTest\UnitTest\Mapping .cs" />
<Compile Include="OldTest\UnitTest\Query\JoinQuery.cs" />
<Compile Include="OldTest\UnitTest\ExpressionTest\Method.cs" />
<Compile Include="OldTest\UnitTest\ExpressionTest\Select.cs" />
<Compile Include="OldTest\UnitTest\Query\SelectQuery.cs" />
<Compile Include="OldTest\UnitTest\Query\SingleQuery.cs" />
<Compile Include="OldTest\UnitTest\ExpressionTest\Where.cs" />
<Compile Include="OldTest\Models\School.cs" />
<Compile Include="OldTest\Models\Student.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="UnitTest\Setting\Attribute.cs" />
<Compile Include="UnitTest\Setting\AutoClose.cs" />
<Compile Include="UnitTest\Setting\MapColumn.cs" />
<Compile Include="UnitTest\Setting\MapTable.cs" />
<Compile Include="UnitTest\Update.cs" />
<Compile Include="OldTest\UnitTest\Setting\Attribute.cs" />
<Compile Include="OldTest\UnitTest\Setting\AutoClose.cs" />
<Compile Include="OldTest\UnitTest\Setting\MapColumn.cs" />
<Compile Include="OldTest\UnitTest\Setting\MapTable.cs" />
<Compile Include="OldTest\UnitTest\Update.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\SqlSugar\SqlSugar.csproj">
@ -134,9 +135,9 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="DataBase\script.sql" />
<Content Include="OtherDll\SyntacticSugar.dll" />
<Content Include="T4\SugarTemplate.tt">
<Content Include="OldTest\DataBase\script.sql" />
<Content Include="OldTest\OtherDll\SyntacticSugar.dll" />
<Content Include="OldTest\T4\SugarTemplate.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>SugarTemplate2.cs</LastGenOutput>
</Content>

1
Src/Asp.Net/SqlServerTest/T4/SugarTemplate2.cs

@ -1 +0,0 @@

Loading…
Cancel
Save