mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-04-24 11:42:51 +08:00

- 增加 FreeSql.Provider.Odbc,实现 Oracle/SqlServer/MySql 的 Odbc 访问提供; - 增加 FreeSqlBuilder.UseConnectionString 参数 providerType,可解决因包版本冲突时,可能无法反射获得 FreeSql.Provider 对应的类型,通常这个参数不需要设置; - 优化 MaxLength 特性,当指定为 -1 时 DbType 会分别映射类型 text/nvarchar(max)/nvarchar2(4000);
38 lines
1.6 KiB
XML
38 lines
1.6 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>netstandard2.0;net45</TargetFrameworks>
|
|
<Version>0.9.17</Version>
|
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
|
<Authors>YeXiangQin</Authors>
|
|
<Description>FreeSql is the most convenient ORM in dotnet. It supports Mysql, Postgresql, SqlServer, Oracle and Sqlite.</Description>
|
|
<PackageProjectUrl>https://github.com/2881099/FreeSql.DbContext</PackageProjectUrl>
|
|
<PackageTags>FreeSql ORM DbContext</PackageTags>
|
|
<RepositoryType>git</RepositoryType>
|
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
|
<PackageId>$(AssemblyName)</PackageId>
|
|
<PackageIconUrl>https://github.com/2881099/FreeSql/blob/master/logo.png?raw=true</PackageIconUrl>
|
|
<Title>$(AssemblyName)</Title>
|
|
<IsPackable>true</IsPackable>
|
|
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
|
<DocumentationFile>FreeSql.DbContext.xml</DocumentationFile>
|
|
<WarningLevel>3</WarningLevel>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
|
|
<DefineConstants>ns20;netstandard20</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
|
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="2.1.1" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\FreeSql\FreeSql.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|