-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NOSQL] AWS DynamoDB Support for .NET Generator (#502)
* DynamoDB external datastore support library (Issue 69246) * Add support for reserved keywords. Allow simple queries. Reorganize code * Support constants in filters * Fix inserts/updates/deletes * fix update names * fix assignments * empty constants are supported * add empty value for GX IsEmpty() method * Add support for retrieving results over secondary indexes * update nuget packages & fix lint errors * Add support to .NET 5/6 * Reorganize folder structure and projects to build DynService.Core and DynService.Dynamo to a common package for NET Framework and NET 6 * Remove unneeded net5.0 target framework * Make this library and the Java one more homogeneous * Fix lint warnings * Add special case for queries that filter with an empty string key * Fix DynamoDB Local connections not using -sharedDb. Region was not taken into account * Add support for binary streams * Fix NullReferenceException when trying to get a binary stream from a record which does not have one * Add support for when duplicate/when none semantics * Improve Query/Scan inference. Fix lint errors * Fix datetime fields. Fix update queries * Fix parsing numeric when field was null Co-authored-by: Gonzalo <gonzalogallotti@gmail.com> Co-authored-by: Claudia Murialdo <cmurialdo@genexus.com> Co-authored-by: claudiamurialdo <33756655+claudiamurialdo@users.noreply.github.com>
- Loading branch information
1 parent
b292a13
commit ec9e523
Showing
31 changed files
with
885 additions
and
574 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
dotnet/src/dotnetcommon/DynService.Core/DynService.Core.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>net462;net6.0</TargetFrameworks> | ||
<RootNamespace>GeneXus.Data.NTier</RootNamespace> | ||
<AssemblyName>GeneXus.Data.DynService.Core</AssemblyName> | ||
<NoWarn>CA1812</NoWarn> | ||
<PackageTags>Dynservice</PackageTags> | ||
<PackageId>GeneXus.DynService.Core</PackageId> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(TargetFramework)'!='net462'"> | ||
<DefineConstants>NETCORE</DefineConstants> | ||
</PropertyGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFramework)'!='net462'"> | ||
<ProjectReference Include="..\..\dotnetcore\GxClasses\GxClasses.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup Condition="'$(TargetFramework)'=='net462'"> | ||
<ProjectReference Include="..\..\dotnetframework\GxClasses\GxClasses.csproj" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
dotnet/src/dotnetcommon/DynService.Core/GlobalSuppressions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// This file is used by Code Analysis to maintain SuppressMessage | ||
// attributes that are applied to this project. | ||
// Project-level suppressions either have no target or are given | ||
// a specific target and scoped to a namespace, type, member, etc. | ||
|
File renamed without changes.
31 changes: 31 additions & 0 deletions
31
dotnet/src/dotnetcommon/DynService.Dynamo/DynService.DynamoDB.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>net462;net6.0</TargetFrameworks> | ||
<RootNamespace>GeneXus.Data.NTier</RootNamespace> | ||
<AssemblyName>GeneXus.Data.DynService.DynamoDB</AssemblyName> | ||
<SignAssembly>false</SignAssembly> | ||
<PackageTags>DynamoDB</PackageTags> | ||
<PackageId>GeneXus.DynService.DynamoDB</PackageId> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(TargetFramework)'!='net462'"> | ||
<DefineConstants>NETCORE</DefineConstants> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="AWSSDK.DynamoDBv2" Version="3.7.0.103" /> | ||
<ProjectReference Include="..\DynService.Core\DynService.Core.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup Condition="'$(TargetFramework)'!='net462'"> | ||
<ProjectReference Include="..\..\dotnetcore\GxClasses\GxClasses.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup Condition="'$(TargetFramework)'=='net462'"> | ||
<ProjectReference Include="..\..\dotnetframework\GxClasses\GxClasses.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Update="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.2"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
</Project> |
Oops, something went wrong.