Skip to content

Commit

Permalink
Add Data, EntityFrameworkCore, FreeSql Providers module
Browse files Browse the repository at this point in the history
Signed-off-by: virtual <1185513330@qq.com>
  • Loading branch information
cocosip committed Sep 6, 2023
1 parent 9aa68f4 commit f19dba4
Show file tree
Hide file tree
Showing 63 changed files with 823 additions and 27 deletions.
2 changes: 1 addition & 1 deletion common.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<LangVersion>latest</LangVersion>
<Version>2.8.6</Version>
<Version>2.8.7</Version>
<NoWarn>$(NoWarn);CS1591;CS0436</NoWarn>
<Authors>virtual</Authors>
<Product>sharp-abp</Product>
Expand Down
107 changes: 106 additions & 1 deletion framework/SharpAbp.sln
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,21 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SharpAbp.Abp.Binary.Tests",
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SharpAbp.Abp.SM", "src\SharpAbp.Abp.SM\SharpAbp.Abp.SM.csproj", "{460BD401-7039-4434-8948-76EA12BA9D05}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharpAbp.Abp.SM.Tests", "test\SharpAbp.Abp.SM.Tests\SharpAbp.Abp.SM.Tests.csproj", "{260BE37D-8EE9-407A-95FD-6A023143E982}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SharpAbp.Abp.SM.Tests", "test\SharpAbp.Abp.SM.Tests\SharpAbp.Abp.SM.Tests.csproj", "{260BE37D-8EE9-407A-95FD-6A023143E982}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SharpAbp.Abp.EntityFrameworkCore", "src\SharpAbp.Abp.EntityFrameworkCore\SharpAbp.Abp.EntityFrameworkCore.csproj", "{5F4B9118-46A0-4BC9-A077-112CB5A81227}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SharpAbp.Abp.Data", "src\SharpAbp.Abp.Data\SharpAbp.Abp.Data.csproj", "{C61270FC-F6CF-4749-AC6E-B57BC2B38C3A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharpAbp.Abp.FreeSql.PostgreSql", "src\SharpAbp.Abp.FreeSql.PostgreSql\SharpAbp.Abp.FreeSql.PostgreSql.csproj", "{78A8B53C-F502-4D67-89D9-1F127D429382}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharpAbp.Abp.FreeSql.SqlServer", "src\SharpAbp.Abp.FreeSql.SqlServer\SharpAbp.Abp.FreeSql.SqlServer.csproj", "{16E7F10F-48A9-4AA3-A71D-0852F2C6C8A5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharpAbp.Abp.FreeSql.MySQL", "src\SharpAbp.Abp.FreeSql.MySQL\SharpAbp.Abp.FreeSql.MySQL.csproj", "{AA0244FC-502D-4590-97DF-F4094F2551E7}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharpAbp.Abp.FreeSql.Oracle", "src\SharpAbp.Abp.FreeSql.Oracle\SharpAbp.Abp.FreeSql.Oracle.csproj", "{7671135C-44C9-4753-A595-5FD2D49AE8F5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharpAbp.Abp.FreeSql.Sqlite", "src\SharpAbp.Abp.FreeSql.Sqlite\SharpAbp.Abp.FreeSql.Sqlite.csproj", "{7C29BC11-FFC8-46A8-9C99-36A0F92899A2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down Expand Up @@ -787,6 +801,90 @@ Global
{260BE37D-8EE9-407A-95FD-6A023143E982}.Release|x64.Build.0 = Release|Any CPU
{260BE37D-8EE9-407A-95FD-6A023143E982}.Release|x86.ActiveCfg = Release|Any CPU
{260BE37D-8EE9-407A-95FD-6A023143E982}.Release|x86.Build.0 = Release|Any CPU
{5F4B9118-46A0-4BC9-A077-112CB5A81227}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5F4B9118-46A0-4BC9-A077-112CB5A81227}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5F4B9118-46A0-4BC9-A077-112CB5A81227}.Debug|x64.ActiveCfg = Debug|Any CPU
{5F4B9118-46A0-4BC9-A077-112CB5A81227}.Debug|x64.Build.0 = Debug|Any CPU
{5F4B9118-46A0-4BC9-A077-112CB5A81227}.Debug|x86.ActiveCfg = Debug|Any CPU
{5F4B9118-46A0-4BC9-A077-112CB5A81227}.Debug|x86.Build.0 = Debug|Any CPU
{5F4B9118-46A0-4BC9-A077-112CB5A81227}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5F4B9118-46A0-4BC9-A077-112CB5A81227}.Release|Any CPU.Build.0 = Release|Any CPU
{5F4B9118-46A0-4BC9-A077-112CB5A81227}.Release|x64.ActiveCfg = Release|Any CPU
{5F4B9118-46A0-4BC9-A077-112CB5A81227}.Release|x64.Build.0 = Release|Any CPU
{5F4B9118-46A0-4BC9-A077-112CB5A81227}.Release|x86.ActiveCfg = Release|Any CPU
{5F4B9118-46A0-4BC9-A077-112CB5A81227}.Release|x86.Build.0 = Release|Any CPU
{C61270FC-F6CF-4749-AC6E-B57BC2B38C3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C61270FC-F6CF-4749-AC6E-B57BC2B38C3A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C61270FC-F6CF-4749-AC6E-B57BC2B38C3A}.Debug|x64.ActiveCfg = Debug|Any CPU
{C61270FC-F6CF-4749-AC6E-B57BC2B38C3A}.Debug|x64.Build.0 = Debug|Any CPU
{C61270FC-F6CF-4749-AC6E-B57BC2B38C3A}.Debug|x86.ActiveCfg = Debug|Any CPU
{C61270FC-F6CF-4749-AC6E-B57BC2B38C3A}.Debug|x86.Build.0 = Debug|Any CPU
{C61270FC-F6CF-4749-AC6E-B57BC2B38C3A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C61270FC-F6CF-4749-AC6E-B57BC2B38C3A}.Release|Any CPU.Build.0 = Release|Any CPU
{C61270FC-F6CF-4749-AC6E-B57BC2B38C3A}.Release|x64.ActiveCfg = Release|Any CPU
{C61270FC-F6CF-4749-AC6E-B57BC2B38C3A}.Release|x64.Build.0 = Release|Any CPU
{C61270FC-F6CF-4749-AC6E-B57BC2B38C3A}.Release|x86.ActiveCfg = Release|Any CPU
{C61270FC-F6CF-4749-AC6E-B57BC2B38C3A}.Release|x86.Build.0 = Release|Any CPU
{78A8B53C-F502-4D67-89D9-1F127D429382}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{78A8B53C-F502-4D67-89D9-1F127D429382}.Debug|Any CPU.Build.0 = Debug|Any CPU
{78A8B53C-F502-4D67-89D9-1F127D429382}.Debug|x64.ActiveCfg = Debug|Any CPU
{78A8B53C-F502-4D67-89D9-1F127D429382}.Debug|x64.Build.0 = Debug|Any CPU
{78A8B53C-F502-4D67-89D9-1F127D429382}.Debug|x86.ActiveCfg = Debug|Any CPU
{78A8B53C-F502-4D67-89D9-1F127D429382}.Debug|x86.Build.0 = Debug|Any CPU
{78A8B53C-F502-4D67-89D9-1F127D429382}.Release|Any CPU.ActiveCfg = Release|Any CPU
{78A8B53C-F502-4D67-89D9-1F127D429382}.Release|Any CPU.Build.0 = Release|Any CPU
{78A8B53C-F502-4D67-89D9-1F127D429382}.Release|x64.ActiveCfg = Release|Any CPU
{78A8B53C-F502-4D67-89D9-1F127D429382}.Release|x64.Build.0 = Release|Any CPU
{78A8B53C-F502-4D67-89D9-1F127D429382}.Release|x86.ActiveCfg = Release|Any CPU
{78A8B53C-F502-4D67-89D9-1F127D429382}.Release|x86.Build.0 = Release|Any CPU
{16E7F10F-48A9-4AA3-A71D-0852F2C6C8A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{16E7F10F-48A9-4AA3-A71D-0852F2C6C8A5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{16E7F10F-48A9-4AA3-A71D-0852F2C6C8A5}.Debug|x64.ActiveCfg = Debug|Any CPU
{16E7F10F-48A9-4AA3-A71D-0852F2C6C8A5}.Debug|x64.Build.0 = Debug|Any CPU
{16E7F10F-48A9-4AA3-A71D-0852F2C6C8A5}.Debug|x86.ActiveCfg = Debug|Any CPU
{16E7F10F-48A9-4AA3-A71D-0852F2C6C8A5}.Debug|x86.Build.0 = Debug|Any CPU
{16E7F10F-48A9-4AA3-A71D-0852F2C6C8A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{16E7F10F-48A9-4AA3-A71D-0852F2C6C8A5}.Release|Any CPU.Build.0 = Release|Any CPU
{16E7F10F-48A9-4AA3-A71D-0852F2C6C8A5}.Release|x64.ActiveCfg = Release|Any CPU
{16E7F10F-48A9-4AA3-A71D-0852F2C6C8A5}.Release|x64.Build.0 = Release|Any CPU
{16E7F10F-48A9-4AA3-A71D-0852F2C6C8A5}.Release|x86.ActiveCfg = Release|Any CPU
{16E7F10F-48A9-4AA3-A71D-0852F2C6C8A5}.Release|x86.Build.0 = Release|Any CPU
{AA0244FC-502D-4590-97DF-F4094F2551E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AA0244FC-502D-4590-97DF-F4094F2551E7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AA0244FC-502D-4590-97DF-F4094F2551E7}.Debug|x64.ActiveCfg = Debug|Any CPU
{AA0244FC-502D-4590-97DF-F4094F2551E7}.Debug|x64.Build.0 = Debug|Any CPU
{AA0244FC-502D-4590-97DF-F4094F2551E7}.Debug|x86.ActiveCfg = Debug|Any CPU
{AA0244FC-502D-4590-97DF-F4094F2551E7}.Debug|x86.Build.0 = Debug|Any CPU
{AA0244FC-502D-4590-97DF-F4094F2551E7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AA0244FC-502D-4590-97DF-F4094F2551E7}.Release|Any CPU.Build.0 = Release|Any CPU
{AA0244FC-502D-4590-97DF-F4094F2551E7}.Release|x64.ActiveCfg = Release|Any CPU
{AA0244FC-502D-4590-97DF-F4094F2551E7}.Release|x64.Build.0 = Release|Any CPU
{AA0244FC-502D-4590-97DF-F4094F2551E7}.Release|x86.ActiveCfg = Release|Any CPU
{AA0244FC-502D-4590-97DF-F4094F2551E7}.Release|x86.Build.0 = Release|Any CPU
{7671135C-44C9-4753-A595-5FD2D49AE8F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7671135C-44C9-4753-A595-5FD2D49AE8F5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7671135C-44C9-4753-A595-5FD2D49AE8F5}.Debug|x64.ActiveCfg = Debug|Any CPU
{7671135C-44C9-4753-A595-5FD2D49AE8F5}.Debug|x64.Build.0 = Debug|Any CPU
{7671135C-44C9-4753-A595-5FD2D49AE8F5}.Debug|x86.ActiveCfg = Debug|Any CPU
{7671135C-44C9-4753-A595-5FD2D49AE8F5}.Debug|x86.Build.0 = Debug|Any CPU
{7671135C-44C9-4753-A595-5FD2D49AE8F5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7671135C-44C9-4753-A595-5FD2D49AE8F5}.Release|Any CPU.Build.0 = Release|Any CPU
{7671135C-44C9-4753-A595-5FD2D49AE8F5}.Release|x64.ActiveCfg = Release|Any CPU
{7671135C-44C9-4753-A595-5FD2D49AE8F5}.Release|x64.Build.0 = Release|Any CPU
{7671135C-44C9-4753-A595-5FD2D49AE8F5}.Release|x86.ActiveCfg = Release|Any CPU
{7671135C-44C9-4753-A595-5FD2D49AE8F5}.Release|x86.Build.0 = Release|Any CPU
{7C29BC11-FFC8-46A8-9C99-36A0F92899A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7C29BC11-FFC8-46A8-9C99-36A0F92899A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7C29BC11-FFC8-46A8-9C99-36A0F92899A2}.Debug|x64.ActiveCfg = Debug|Any CPU
{7C29BC11-FFC8-46A8-9C99-36A0F92899A2}.Debug|x64.Build.0 = Debug|Any CPU
{7C29BC11-FFC8-46A8-9C99-36A0F92899A2}.Debug|x86.ActiveCfg = Debug|Any CPU
{7C29BC11-FFC8-46A8-9C99-36A0F92899A2}.Debug|x86.Build.0 = Debug|Any CPU
{7C29BC11-FFC8-46A8-9C99-36A0F92899A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7C29BC11-FFC8-46A8-9C99-36A0F92899A2}.Release|Any CPU.Build.0 = Release|Any CPU
{7C29BC11-FFC8-46A8-9C99-36A0F92899A2}.Release|x64.ActiveCfg = Release|Any CPU
{7C29BC11-FFC8-46A8-9C99-36A0F92899A2}.Release|x64.Build.0 = Release|Any CPU
{7C29BC11-FFC8-46A8-9C99-36A0F92899A2}.Release|x86.ActiveCfg = Release|Any CPU
{7C29BC11-FFC8-46A8-9C99-36A0F92899A2}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -847,6 +945,13 @@ Global
{1FB2E699-5019-4637-89ED-DD0C16B4CE8D} = {51F9C36E-772F-4E52-A4AC-3EE8F13FDAD3}
{460BD401-7039-4434-8948-76EA12BA9D05} = {16E4EB45-D029-4743-99CD-D125C72AE383}
{260BE37D-8EE9-407A-95FD-6A023143E982} = {51F9C36E-772F-4E52-A4AC-3EE8F13FDAD3}
{5F4B9118-46A0-4BC9-A077-112CB5A81227} = {16E4EB45-D029-4743-99CD-D125C72AE383}
{C61270FC-F6CF-4749-AC6E-B57BC2B38C3A} = {16E4EB45-D029-4743-99CD-D125C72AE383}
{78A8B53C-F502-4D67-89D9-1F127D429382} = {16E4EB45-D029-4743-99CD-D125C72AE383}
{16E7F10F-48A9-4AA3-A71D-0852F2C6C8A5} = {16E4EB45-D029-4743-99CD-D125C72AE383}
{AA0244FC-502D-4590-97DF-F4094F2551E7} = {16E4EB45-D029-4743-99CD-D125C72AE383}
{7671135C-44C9-4753-A595-5FD2D49AE8F5} = {16E4EB45-D029-4743-99CD-D125C72AE383}
{7C29BC11-FFC8-46A8-9C99-36A0F92899A2} = {16E4EB45-D029-4743-99CD-D125C72AE383}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {30432CEA-45F2-4F5A-B44B-790A62AB73F1}
Expand Down
3 changes: 3 additions & 0 deletions framework/src/SharpAbp.Abp.Data/FodyWeavers.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<ConfigureAwait ContinueOnCapturedContext="false" />
</Weavers>
30 changes: 30 additions & 0 deletions framework/src/SharpAbp.Abp.Data/FodyWeavers.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<!-- This file was generated by Fody. Manual changes to this file will be lost when your project is rebuilt. -->
<xs:element name="Weavers">
<xs:complexType>
<xs:all>
<xs:element name="ConfigureAwait" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:attribute name="ContinueOnCapturedContext" type="xs:boolean" />
</xs:complexType>
</xs:element>
</xs:all>
<xs:attribute name="VerifyAssembly" type="xs:boolean">
<xs:annotation>
<xs:documentation>'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="VerifyIgnoreCodes" type="xs:string">
<xs:annotation>
<xs:documentation>A comma-separated list of error codes that can be safely ignored in assembly verification.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="GenerateXsd" type="xs:boolean">
<xs:annotation>
<xs:documentation>'false' to turn off automatic generation of the XML Schema file.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:schema>
22 changes: 22 additions & 0 deletions framework/src/SharpAbp.Abp.Data/SharpAbp.Abp.Data.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="..\..\..\common.props" />
<Import Project="..\..\..\configureawait.props" />

<PropertyGroup>
<TargetFrameworks>$(ProjectFrameworks)</TargetFrameworks>
<AssemblyName>SharpAbp.Abp.Data</AssemblyName>
<PackageId>SharpAbp.Abp.Data</PackageId>
<AssetTargetFallback>$(AssetTargetFallback);portable-net45+win8+wp8+wpa81;</AssetTargetFallback>
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
<Description>SharpAbp Data Module</Description>
<RootNamespace />
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Volo.Abp" Version="$(VoloAbpPackageVersion)" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace SharpAbp.Abp.DbConnections
namespace SharpAbp.Abp.Data
{
public enum DatabaseProvider
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
using Volo.Abp.Modularity;

namespace SharpAbp.Abp.Data
{
public class SharpAbpDataModule : AbpModule
{
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Threading.Tasks;
using SharpAbp.Abp.Data;
using System.Threading.Tasks;
using Volo.Abp.Modularity;
using Volo.Abp.Threading;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using MySqlConnector;
using SharpAbp.Abp.Data;
using System.Data;
using Volo.Abp.DependencyInjection;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Threading.Tasks;
using SharpAbp.Abp.Data;
using System.Threading.Tasks;
using Volo.Abp.Modularity;
using Volo.Abp.Threading;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Devart.Data.Oracle;
using SharpAbp.Abp.Data;
using System.Data;
using Volo.Abp.DependencyInjection;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Threading.Tasks;
using SharpAbp.Abp.Data;
using System.Threading.Tasks;
using Volo.Abp.Modularity;
using Volo.Abp.Threading;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Oracle.ManagedDataAccess.Client;
using SharpAbp.Abp.Data;
using System.Data;
using Volo.Abp.DependencyInjection;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Threading.Tasks;
using SharpAbp.Abp.Data;
using System.Threading.Tasks;
using Volo.Abp.Modularity;
using Volo.Abp.Threading;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Npgsql;
using SharpAbp.Abp.Data;
using System.Data;
using Volo.Abp.DependencyInjection;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Threading.Tasks;
using SharpAbp.Abp.Data;
using System.Threading.Tasks;
using Volo.Abp.Modularity;
using Volo.Abp.Threading;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Microsoft.Data.SqlClient;
using SharpAbp.Abp.Data;
using System.Data;
using Volo.Abp.DependencyInjection;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Threading.Tasks;
using SharpAbp.Abp.Data;
using System.Threading.Tasks;
using Volo.Abp.Modularity;
using Volo.Abp.Threading;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Microsoft.Data.Sqlite;
using SharpAbp.Abp.Data;
using System.Data;
using Volo.Abp.DependencyInjection;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@
<PackageReference Include="Volo.Abp" Version="$(VoloAbpPackageVersion)" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\SharpAbp.Abp.Data\SharpAbp.Abp.Data.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
using Volo.Abp.Modularity;
using SharpAbp.Abp.Data;
using Volo.Abp.Modularity;

namespace SharpAbp.Abp.DbConnections
{
[DependsOn(
typeof(SharpAbpDataModule)
)]
public class AbpDbConnectionsModule : AbpModule
{

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Microsoft.Extensions.Configuration;
using SharpAbp.Abp.Data;
using System.Collections.Generic;
using Volo.Abp.Collections;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
namespace SharpAbp.Abp.DbConnections
using SharpAbp.Abp.Data;

namespace SharpAbp.Abp.DbConnections
{
public class DbConnectionConfiguration
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using JetBrains.Annotations;
using SharpAbp.Abp.Data;
using System;
using System.Collections.Generic;
using Volo.Abp;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using SharpAbp.Abp.Data;
using System;

namespace SharpAbp.Abp.DbConnections
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using System.Data;
using SharpAbp.Abp.Data;
using System.Data;

namespace SharpAbp.Abp.DbConnections
{
public interface IInternalDbConnectionCreator
{
DatabaseProvider DatabaseProvider { get; }

IDbConnection Create(DbConnectionInfo dbConnectionInfo);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<ConfigureAwait ContinueOnCapturedContext="false" />
</Weavers>
30 changes: 30 additions & 0 deletions framework/src/SharpAbp.Abp.EntityFrameworkCore/FodyWeavers.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<!-- This file was generated by Fody. Manual changes to this file will be lost when your project is rebuilt. -->
<xs:element name="Weavers">
<xs:complexType>
<xs:all>
<xs:element name="ConfigureAwait" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:attribute name="ContinueOnCapturedContext" type="xs:boolean" />
</xs:complexType>
</xs:element>
</xs:all>
<xs:attribute name="VerifyAssembly" type="xs:boolean">
<xs:annotation>
<xs:documentation>'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="VerifyIgnoreCodes" type="xs:string">
<xs:annotation>
<xs:documentation>A comma-separated list of error codes that can be safely ignored in assembly verification.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="GenerateXsd" type="xs:boolean">
<xs:annotation>
<xs:documentation>'false' to turn off automatic generation of the XML Schema file.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:schema>
Loading

0 comments on commit f19dba4

Please sign in to comment.