Update access demo

This commit is contained in:
sunkaixuan 2022-02-26 23:52:56 +08:00
parent 40a52d94d0
commit 5a53949480
4 changed files with 80 additions and 5 deletions

View File

@ -3,6 +3,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<Platforms>AnyCPU;x86</Platforms>
</PropertyGroup>
<ItemGroup>
@ -10,4 +11,10 @@
<ProjectReference Include="..\SqlSugar\SqlSugar.csproj" />
</ItemGroup>
<ItemGroup>
<None Update="Test.accdb">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>

View File

@ -7,8 +7,8 @@ using System.Threading.Tasks;
namespace OrmTest
{
/// <summary>
/// Setting up the database name does not require you to create the database
/// 只需要设置IP和账户密码 ,自动建库
/// CPU X86
/// CPU X86
/// </summary>
public class Config
{
@ -17,7 +17,7 @@ namespace OrmTest
get
{
return Environment.CurrentDirectory.Replace(@"\bin\Debug\netcoreapp3.1", "");
return Environment.CurrentDirectory;
}
}
/// <summary>

View File

@ -11,6 +11,8 @@ namespace OrmTest
/// <param name="args"></param>
static void Main(string[] args)
{
//需要 Cpu X86
Demo0_SqlSugarClient.Init();
Demo1_Queryable.Init();
Demo2_Updateable.Init();

View File

@ -33,80 +33,146 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SqlSugar.MySqlConnectorCore
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MySqlConnectorTest", "MySqlConnectorTest\MySqlConnectorTest.csproj", "{1509863D-FEB5-4CC4-9C92-7EBE308B731E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SqlSugar.AccessCore", "SqlSugar.AccessCore\SqlSugar.AccessCore.csproj", "{DD0C850D-86E5-4FFF-BFF3-8797EB448B47}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SqlSugar.AccessCore", "SqlSugar.AccessCore\SqlSugar.AccessCore.csproj", "{DD0C850D-86E5-4FFF-BFF3-8797EB448B47}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AccessTest", "AccessTest\AccessTest.csproj", "{DC928353-9E17-418C-99F3-C831A0F44FB2}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AccessTest", "AccessTest\AccessTest.csproj", "{DC928353-9E17-418C-99F3-C831A0F44FB2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{B44F2513-E55B-480F-A41C-685DDD083355}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B44F2513-E55B-480F-A41C-685DDD083355}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B44F2513-E55B-480F-A41C-685DDD083355}.Debug|x86.ActiveCfg = Debug|Any CPU
{B44F2513-E55B-480F-A41C-685DDD083355}.Debug|x86.Build.0 = Debug|Any CPU
{B44F2513-E55B-480F-A41C-685DDD083355}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B44F2513-E55B-480F-A41C-685DDD083355}.Release|Any CPU.Build.0 = Release|Any CPU
{B44F2513-E55B-480F-A41C-685DDD083355}.Release|x86.ActiveCfg = Release|Any CPU
{B44F2513-E55B-480F-A41C-685DDD083355}.Release|x86.Build.0 = Release|Any CPU
{1E032FA3-627E-4D59-9C11-C8D8114F24FF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1E032FA3-627E-4D59-9C11-C8D8114F24FF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1E032FA3-627E-4D59-9C11-C8D8114F24FF}.Debug|x86.ActiveCfg = Debug|Any CPU
{1E032FA3-627E-4D59-9C11-C8D8114F24FF}.Debug|x86.Build.0 = Debug|Any CPU
{1E032FA3-627E-4D59-9C11-C8D8114F24FF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1E032FA3-627E-4D59-9C11-C8D8114F24FF}.Release|Any CPU.Build.0 = Release|Any CPU
{1E032FA3-627E-4D59-9C11-C8D8114F24FF}.Release|x86.ActiveCfg = Release|Any CPU
{1E032FA3-627E-4D59-9C11-C8D8114F24FF}.Release|x86.Build.0 = Release|Any CPU
{DEB62FB9-C743-4C2B-BC78-50FB0E8B44FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DEB62FB9-C743-4C2B-BC78-50FB0E8B44FE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DEB62FB9-C743-4C2B-BC78-50FB0E8B44FE}.Debug|x86.ActiveCfg = Debug|Any CPU
{DEB62FB9-C743-4C2B-BC78-50FB0E8B44FE}.Debug|x86.Build.0 = Debug|Any CPU
{DEB62FB9-C743-4C2B-BC78-50FB0E8B44FE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DEB62FB9-C743-4C2B-BC78-50FB0E8B44FE}.Release|Any CPU.Build.0 = Release|Any CPU
{DEB62FB9-C743-4C2B-BC78-50FB0E8B44FE}.Release|x86.ActiveCfg = Release|Any CPU
{DEB62FB9-C743-4C2B-BC78-50FB0E8B44FE}.Release|x86.Build.0 = Release|Any CPU
{AE73F090-22EC-49E4-AFEE-879FFFA292EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AE73F090-22EC-49E4-AFEE-879FFFA292EC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AE73F090-22EC-49E4-AFEE-879FFFA292EC}.Debug|x86.ActiveCfg = Debug|Any CPU
{AE73F090-22EC-49E4-AFEE-879FFFA292EC}.Debug|x86.Build.0 = Debug|Any CPU
{AE73F090-22EC-49E4-AFEE-879FFFA292EC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AE73F090-22EC-49E4-AFEE-879FFFA292EC}.Release|Any CPU.Build.0 = Release|Any CPU
{AE73F090-22EC-49E4-AFEE-879FFFA292EC}.Release|x86.ActiveCfg = Release|Any CPU
{AE73F090-22EC-49E4-AFEE-879FFFA292EC}.Release|x86.Build.0 = Release|Any CPU
{3247B9CB-C92D-4AE3-8A35-3131AB2BD406}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3247B9CB-C92D-4AE3-8A35-3131AB2BD406}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3247B9CB-C92D-4AE3-8A35-3131AB2BD406}.Debug|x86.ActiveCfg = Debug|Any CPU
{3247B9CB-C92D-4AE3-8A35-3131AB2BD406}.Debug|x86.Build.0 = Debug|Any CPU
{3247B9CB-C92D-4AE3-8A35-3131AB2BD406}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3247B9CB-C92D-4AE3-8A35-3131AB2BD406}.Release|Any CPU.Build.0 = Release|Any CPU
{3247B9CB-C92D-4AE3-8A35-3131AB2BD406}.Release|x86.ActiveCfg = Release|Any CPU
{3247B9CB-C92D-4AE3-8A35-3131AB2BD406}.Release|x86.Build.0 = Release|Any CPU
{E76C6F9B-BA90-4A5A-94D9-D3D48CBB6AA3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E76C6F9B-BA90-4A5A-94D9-D3D48CBB6AA3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E76C6F9B-BA90-4A5A-94D9-D3D48CBB6AA3}.Debug|x86.ActiveCfg = Debug|Any CPU
{E76C6F9B-BA90-4A5A-94D9-D3D48CBB6AA3}.Debug|x86.Build.0 = Debug|Any CPU
{E76C6F9B-BA90-4A5A-94D9-D3D48CBB6AA3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E76C6F9B-BA90-4A5A-94D9-D3D48CBB6AA3}.Release|Any CPU.Build.0 = Release|Any CPU
{E76C6F9B-BA90-4A5A-94D9-D3D48CBB6AA3}.Release|x86.ActiveCfg = Release|Any CPU
{E76C6F9B-BA90-4A5A-94D9-D3D48CBB6AA3}.Release|x86.Build.0 = Release|Any CPU
{B9005A73-5307-48FB-90EA-CC18FE6926E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B9005A73-5307-48FB-90EA-CC18FE6926E2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B9005A73-5307-48FB-90EA-CC18FE6926E2}.Debug|x86.ActiveCfg = Debug|Any CPU
{B9005A73-5307-48FB-90EA-CC18FE6926E2}.Debug|x86.Build.0 = Debug|Any CPU
{B9005A73-5307-48FB-90EA-CC18FE6926E2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B9005A73-5307-48FB-90EA-CC18FE6926E2}.Release|Any CPU.Build.0 = Release|Any CPU
{B9005A73-5307-48FB-90EA-CC18FE6926E2}.Release|x86.ActiveCfg = Release|Any CPU
{B9005A73-5307-48FB-90EA-CC18FE6926E2}.Release|x86.Build.0 = Release|Any CPU
{FBA1A5CC-1C9D-476F-B19D-FD5E2201C30A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FBA1A5CC-1C9D-476F-B19D-FD5E2201C30A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FBA1A5CC-1C9D-476F-B19D-FD5E2201C30A}.Debug|x86.ActiveCfg = Debug|Any CPU
{FBA1A5CC-1C9D-476F-B19D-FD5E2201C30A}.Debug|x86.Build.0 = Debug|Any CPU
{FBA1A5CC-1C9D-476F-B19D-FD5E2201C30A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FBA1A5CC-1C9D-476F-B19D-FD5E2201C30A}.Release|Any CPU.Build.0 = Release|Any CPU
{FBA1A5CC-1C9D-476F-B19D-FD5E2201C30A}.Release|x86.ActiveCfg = Release|Any CPU
{FBA1A5CC-1C9D-476F-B19D-FD5E2201C30A}.Release|x86.Build.0 = Release|Any CPU
{21744B61-74AB-4706-9A52-C9D0C4AAD19E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{21744B61-74AB-4706-9A52-C9D0C4AAD19E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{21744B61-74AB-4706-9A52-C9D0C4AAD19E}.Debug|x86.ActiveCfg = Debug|Any CPU
{21744B61-74AB-4706-9A52-C9D0C4AAD19E}.Debug|x86.Build.0 = Debug|Any CPU
{21744B61-74AB-4706-9A52-C9D0C4AAD19E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{21744B61-74AB-4706-9A52-C9D0C4AAD19E}.Release|Any CPU.Build.0 = Release|Any CPU
{21744B61-74AB-4706-9A52-C9D0C4AAD19E}.Release|x86.ActiveCfg = Release|Any CPU
{21744B61-74AB-4706-9A52-C9D0C4AAD19E}.Release|x86.Build.0 = Release|Any CPU
{2EC6C9BD-6B8F-4EC3-B4ED-EAEFD8BB735C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2EC6C9BD-6B8F-4EC3-B4ED-EAEFD8BB735C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2EC6C9BD-6B8F-4EC3-B4ED-EAEFD8BB735C}.Debug|x86.ActiveCfg = Debug|Any CPU
{2EC6C9BD-6B8F-4EC3-B4ED-EAEFD8BB735C}.Debug|x86.Build.0 = Debug|Any CPU
{2EC6C9BD-6B8F-4EC3-B4ED-EAEFD8BB735C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2EC6C9BD-6B8F-4EC3-B4ED-EAEFD8BB735C}.Release|Any CPU.Build.0 = Release|Any CPU
{2EC6C9BD-6B8F-4EC3-B4ED-EAEFD8BB735C}.Release|x86.ActiveCfg = Release|Any CPU
{2EC6C9BD-6B8F-4EC3-B4ED-EAEFD8BB735C}.Release|x86.Build.0 = Release|Any CPU
{29925F8E-6495-463A-ABBD-C050AE85E130}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{29925F8E-6495-463A-ABBD-C050AE85E130}.Debug|Any CPU.Build.0 = Debug|Any CPU
{29925F8E-6495-463A-ABBD-C050AE85E130}.Debug|x86.ActiveCfg = Debug|Any CPU
{29925F8E-6495-463A-ABBD-C050AE85E130}.Debug|x86.Build.0 = Debug|Any CPU
{29925F8E-6495-463A-ABBD-C050AE85E130}.Release|Any CPU.ActiveCfg = Release|Any CPU
{29925F8E-6495-463A-ABBD-C050AE85E130}.Release|Any CPU.Build.0 = Release|Any CPU
{29925F8E-6495-463A-ABBD-C050AE85E130}.Release|x86.ActiveCfg = Release|Any CPU
{29925F8E-6495-463A-ABBD-C050AE85E130}.Release|x86.Build.0 = Release|Any CPU
{EE197EB0-C494-4478-A5CD-545E7139202E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EE197EB0-C494-4478-A5CD-545E7139202E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EE197EB0-C494-4478-A5CD-545E7139202E}.Debug|x86.ActiveCfg = Debug|Any CPU
{EE197EB0-C494-4478-A5CD-545E7139202E}.Debug|x86.Build.0 = Debug|Any CPU
{EE197EB0-C494-4478-A5CD-545E7139202E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EE197EB0-C494-4478-A5CD-545E7139202E}.Release|Any CPU.Build.0 = Release|Any CPU
{EE197EB0-C494-4478-A5CD-545E7139202E}.Release|x86.ActiveCfg = Release|Any CPU
{EE197EB0-C494-4478-A5CD-545E7139202E}.Release|x86.Build.0 = Release|Any CPU
{D22873F3-80E1-4415-9CD6-21B1C7EEA4A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D22873F3-80E1-4415-9CD6-21B1C7EEA4A0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D22873F3-80E1-4415-9CD6-21B1C7EEA4A0}.Debug|x86.ActiveCfg = Debug|Any CPU
{D22873F3-80E1-4415-9CD6-21B1C7EEA4A0}.Debug|x86.Build.0 = Debug|Any CPU
{D22873F3-80E1-4415-9CD6-21B1C7EEA4A0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D22873F3-80E1-4415-9CD6-21B1C7EEA4A0}.Release|Any CPU.Build.0 = Release|Any CPU
{D22873F3-80E1-4415-9CD6-21B1C7EEA4A0}.Release|x86.ActiveCfg = Release|Any CPU
{D22873F3-80E1-4415-9CD6-21B1C7EEA4A0}.Release|x86.Build.0 = Release|Any CPU
{1509863D-FEB5-4CC4-9C92-7EBE308B731E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1509863D-FEB5-4CC4-9C92-7EBE308B731E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1509863D-FEB5-4CC4-9C92-7EBE308B731E}.Debug|x86.ActiveCfg = Debug|Any CPU
{1509863D-FEB5-4CC4-9C92-7EBE308B731E}.Debug|x86.Build.0 = Debug|Any CPU
{1509863D-FEB5-4CC4-9C92-7EBE308B731E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1509863D-FEB5-4CC4-9C92-7EBE308B731E}.Release|Any CPU.Build.0 = Release|Any CPU
{1509863D-FEB5-4CC4-9C92-7EBE308B731E}.Release|x86.ActiveCfg = Release|Any CPU
{1509863D-FEB5-4CC4-9C92-7EBE308B731E}.Release|x86.Build.0 = Release|Any CPU
{DD0C850D-86E5-4FFF-BFF3-8797EB448B47}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DD0C850D-86E5-4FFF-BFF3-8797EB448B47}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DD0C850D-86E5-4FFF-BFF3-8797EB448B47}.Debug|x86.ActiveCfg = Debug|Any CPU
{DD0C850D-86E5-4FFF-BFF3-8797EB448B47}.Debug|x86.Build.0 = Debug|Any CPU
{DD0C850D-86E5-4FFF-BFF3-8797EB448B47}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DD0C850D-86E5-4FFF-BFF3-8797EB448B47}.Release|Any CPU.Build.0 = Release|Any CPU
{DD0C850D-86E5-4FFF-BFF3-8797EB448B47}.Release|x86.ActiveCfg = Release|Any CPU
{DD0C850D-86E5-4FFF-BFF3-8797EB448B47}.Release|x86.Build.0 = Release|Any CPU
{DC928353-9E17-418C-99F3-C831A0F44FB2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DC928353-9E17-418C-99F3-C831A0F44FB2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DC928353-9E17-418C-99F3-C831A0F44FB2}.Debug|x86.ActiveCfg = Debug|x86
{DC928353-9E17-418C-99F3-C831A0F44FB2}.Debug|x86.Build.0 = Debug|x86
{DC928353-9E17-418C-99F3-C831A0F44FB2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DC928353-9E17-418C-99F3-C831A0F44FB2}.Release|Any CPU.Build.0 = Release|Any CPU
{DC928353-9E17-418C-99F3-C831A0F44FB2}.Release|x86.ActiveCfg = Release|x86
{DC928353-9E17-418C-99F3-C831A0F44FB2}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE