diff --git a/Src/Gedaq.DbConnection/Attributes/QueryAttribute.cs b/Src/Gedaq.DbConnection/Attributes/QueryAttribute.cs index b46af84..a58a737 100644 --- a/Src/Gedaq.DbConnection/Attributes/QueryAttribute.cs +++ b/Src/Gedaq.DbConnection/Attributes/QueryAttribute.cs @@ -13,7 +13,8 @@ public QueryAttribute( MethodType methodType = MethodType.Sync, QueryType queryType = QueryType.Read, bool generate = true, - AccessModifier accessModifier = AccessModifier.AsContainingClass + AccessModifier accessModifier = AccessModifier.AsContainingClass, + AsyncResult asyncResultType = AsyncResult.ValueTask ) { } diff --git a/Src/Gedaq.DbConnection/Attributes/QueryBatchAttribute.cs b/Src/Gedaq.DbConnection/Attributes/QueryBatchAttribute.cs index c326ce6..a4f6a70 100644 --- a/Src/Gedaq.DbConnection/Attributes/QueryBatchAttribute.cs +++ b/Src/Gedaq.DbConnection/Attributes/QueryBatchAttribute.cs @@ -10,7 +10,8 @@ public QueryBatchAttribute( string batchName, QueryType queryType, MethodType methodType, - AccessModifier accessModifier = AccessModifier.AsContainingClass + AccessModifier accessModifier = AccessModifier.AsContainingClass, + AsyncResult asyncResultType = AsyncResult.ValueTask ) { } diff --git a/Src/Gedaq.DbConnection/Gedaq.DbConnection.csproj b/Src/Gedaq.DbConnection/Gedaq.DbConnection.csproj index 2df7b57..ca50688 100644 --- a/Src/Gedaq.DbConnection/Gedaq.DbConnection.csproj +++ b/Src/Gedaq.DbConnection/Gedaq.DbConnection.csproj @@ -1,13 +1,13 @@ - + netstandard2.0 - + Gedaq.DbConnection - 1.2.3.0 + 1.2.4.0 Brevnov Vyacheslav Sergeevich https://github.com/SoftStoneDevelop/Gedaq.DbConnection false