From 2334fe245003a6a06033366ff79cef6520208876 Mon Sep 17 00:00:00 2001 From: 2881099 <2881099@qq.com> Date: Wed, 21 Aug 2024 02:55:16 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E4=BF=AE=E5=A4=8D=20DateOnly/TimeOnly=20?= =?UTF-8?q?=E6=98=A0=E5=B0=84=E9=97=AE=E9=A2=98=EF=BC=9B#1868=20#1855=20#1?= =?UTF-8?q?763=20#939=20#991?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Directory.Build.props | 1 + FreeSql.DbContext/FreeSql.DbContext.csproj | 2 +- FreeSql.DbContext/FreeSql.DbContext.xml | 9 -- FreeSql.Repository/FreeSql.Repository.csproj | 2 +- .../Duckdb/DuckdbCodeFirstTest.cs | 62 +++++++++ .../KingbaseES/KingbaseESCodeFirstTest.cs | 63 +++++++++ .../FreeSql.Tests/MySql/MySqlCodeFirstTest.cs | 64 +++++++++ .../PostgreSQL/PostgreSQLCodeFirstTest.cs | 55 +++++--- .../SqlServer/SqlServerCodeFirstTest.cs | 75 +++++++++++ FreeSql/FreeSql.csproj | 2 +- FreeSql/FreeSql.xml | 123 ++++++++++++++++++ FreeSql/Internal/UtilsExpressionTree.cs | 52 +++++--- .../SqlServer/CustomSqlServerUtils.cs | 2 + .../DuckdbAdo/DuckdbAdo.cs | 2 +- .../DuckdbCodeFirst.cs | 40 +++++- .../FreeSql.Provider.Duckdb/DuckdbProvider.cs | 4 + .../FreeSql.Provider.Duckdb.csproj | 2 +- .../FreeSql.Provider.KingbaseES.csproj | 5 +- .../KingbaseESAdo/KingbaseESAdo.cs | 2 +- .../KingbaseESCodeFirst.cs | 2 +- .../KingbaseESProvider.cs | 4 + .../KingbaseESUtils.cs | 10 ++ .../MySqlAdo/MySqlAdo.cs | 2 +- .../FreeSql.Provider.MySql/MySqlCodeFirst.cs | 2 +- .../FreeSql.Provider.MySql/MySqlProvider.cs | 4 + .../SqlServer/OdbcSqlServerUtils.cs | 2 + .../PostgreSQLAdo/PostgreSQLAdo.cs | 2 +- .../PostgreSQLCodeFirst.cs | 2 +- .../PostgreSQLProvider.cs | 4 + .../PostgreSQLUtils.cs | 10 ++ .../SqlServerAdo/SqlServerAdo.cs | 13 +- .../SqlServerCodeFirst.cs | 2 +- .../SqlServerProvider.cs | 7 +- .../SqlServerUtils.cs | 8 ++ README.md | 2 +- README.zh-CN.md | 17 +-- 36 files changed, 584 insertions(+), 76 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index c0a3d63a1..276800a60 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -6,6 +6,7 @@ true true $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb + 1701;1702;CS1573;CS8600;CS8601;CS8602;CS8603;CS8604;CS8605;CS8618;CS8619;CS8620;CS8622;CS8625;CS8629;CS8714;CS1591;CS0649;CA2200