修改项目文件,支持standard2.1

This commit is contained in:
falcon 2019-12-13 10:53:47 +08:00
parent 66e6e549a1
commit a232e57413
3 changed files with 13 additions and 132 deletions

View File

@ -6,6 +6,10 @@
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DocumentationFile></DocumentationFile>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.2.6" /> <PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.2.6" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="2.2.6" /> <PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="2.2.6" />

View File

@ -1,15 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks> <TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<AssemblyVersion>1.0.1.0</AssemblyVersion> <AssemblyVersion>1.0.3.0</AssemblyVersion>
<FileVersion>1.0.1.0</FileVersion> <FileVersion>1.0.3.0</FileVersion>
<Version>1.0.1</Version> <Version>1.0.3</Version>
</PropertyGroup> <DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
<PackageProjectUrl>http://39.105.71.191/Falcon/Falcon.ModelSP</PackageProjectUrl>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'"> <RepositoryUrl>http://39.105.71.191/Falcon/Falcon.ModelSP</RepositoryUrl>
<DocumentationFile>bin\</DocumentationFile> <Description>EF Core 存储过程执行组件,可以模型化执行存储过程</Description>
<Authors>Falcon</Authors>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View File

@ -1,124 +0,0 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Falcon.ModelSP</name>
</assembly>
<members>
<member name="T:Falcon.ModelSP.DataExtend">
<summary>
数据库上下文方法扩展
</summary>
</member>
<member name="M:Falcon.ModelSP.DataExtend.RunProcuder``1(Microsoft.EntityFrameworkCore.DbContext,``0)">
<summary>
执行无返回值的存储过程
</summary>
<typeparam name="TPrarmType">参数类型</typeparam>
<param name="db">数据上下文</param>
<param name="data">参数数据</param>
</member>
<member name="M:Falcon.ModelSP.DataExtend.RunProcuder``2(Microsoft.EntityFrameworkCore.DbContext,``0)">
<summary>
执行有返回值的存储过程
</summary>
<typeparam name="TPrarmType">参数类型</typeparam>
<typeparam name="TResultType">返回结果项类型</typeparam>
<param name="db">数据上下文</param>
<param name="data">参数数据</param>
</member>
<member name="M:Falcon.ModelSP.DataExtend.getParams``1(``0)">
<summary>
获取存储过程参数枚举
</summary>
<typeparam name="T">参数模型类型</typeparam>
<param name="data">参数实例</param>
</member>
<member name="M:Falcon.ModelSP.DataExtend.ignoreProp(System.Reflection.PropertyInfo)">
<summary>
是否忽略属性
</summary>
<param name="p">要检查的属性</param>
</member>
<member name="M:Falcon.ModelSP.DataExtend.getName(System.Reflection.PropertyInfo)">
<summary>
获取存储过程参数名称
</summary>
<param name="p">对应的属性</param>
</member>
<member name="M:Falcon.ModelSP.DataExtend.getProcuderName``1">
<summary>
获取存储过程名
</summary>
<typeparam name="T">参数模型</typeparam>
</member>
<member name="M:Falcon.ModelSP.DataExtend.SqlQuery``1(Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade,System.String,Microsoft.Data.SqlClient.SqlParameter[])">
<summary>
根据传入的sql语句和参数枚举执行存储过程并且返回类型枚举
</summary>
<typeparam name="TR">返回值类型</typeparam>
<param name="db">数据库上下文</param>
<param name="sql">要执行的sql语句</param>
<param name="para">参数枚举</param>
<returns></returns>
</member>
<member name="T:Falcon.ModelSP.FalconSPIgnoreAttribute">
<summary>
表示调用时候忽略此属性
</summary>
</member>
<member name="T:Falcon.ModelSP.FalconSPPrarmNameAttribute">
<summary>
定义名称
</summary>
</member>
<member name="T:Falcon.ModelSP.FalconSPProcuderNameAttribute">
<summary>
定义存储过程名称
</summary>
</member>
<member name="T:Falcon.ModelSP.FalconSPRuner">
<summary>
存储过程执行器实现
</summary>
</member>
<member name="T:Falcon.ModelSP.IFalconSPRuner">
<summary>
执行存储过程接口
</summary>
</member>
<member name="M:Falcon.ModelSP.IFalconSPRuner.RunSP``1(Microsoft.EntityFrameworkCore.DbContext,``0)">
<summary>
通过数据库上下文执行无返回值的存储过程
</summary>
<typeparam name="TPrarmType">参数类型</typeparam>
<param name="db">数据上下文</param>
<param name="data">参数数据</param>
</member>
<member name="M:Falcon.ModelSP.IFalconSPRuner.RunSP``2(Microsoft.EntityFrameworkCore.DbContext,``0)">
<summary>
通过数据库上下文执行存储过程,并返回查询结果
</summary>
<typeparam name="TPrarmType">参数类型</typeparam>
<typeparam name="TResultType">返回结果项类型</typeparam>
<param name="db">数据上下文</param>
<param name="data">参数数据</param>
</member>
<member name="T:Falcon.ModelSP.IServiceCollectionExtend">
<summary>
IServiceCollection扩展
</summary>
</member>
<member name="M:Falcon.ModelSP.IServiceCollectionExtend.UseFalconSP(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
<summary>
注册对数据库存储过程模型化的调用扩展
</summary>
<param name="services">注册服务集合</param>
<returns></returns>
</member>
<member name="T:Falcon.ModelSP.ProcuderNotFoundException">
<summary>
存储过程没有找到的异常
</summary>
</member>
</members>
</doc>