Skip to content

Commit acbb191

Browse files
author
DAIKOZ
committed
SQLWrapper 2.2.1
## [2.2.1] (2025-04-20) ### SQLWrapper - Fix #8 Wrong CSharp code generate with a SELECT with no WHERE
1 parent dcb7bc4 commit acbb191

File tree

5 files changed

+36
-20
lines changed

5 files changed

+36
-20
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [2.2.1] (2025-04-20)
4+
5+
### SQLWrapper
6+
- Fix #8 Wrong CSharp code generate with a SELECT with no WHERE
7+
8+
39
## [2.2] (2024-08-02)
410

511
### SQLWrapper

Daikoz.SQLWrapper/Daikoz.SQLWrapper.csproj

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
1212
<PackageIcon>sqlwrapper.png</PackageIcon>
1313
<Title>SQL Wrapper Generator</Title>
14-
<Version>2.2</Version>
15-
<AssemblyVersion>2.2</AssemblyVersion>
16-
<FileVersion>2.2</FileVersion>
14+
<Version>2.2.1</Version>
15+
<AssemblyVersion>2.2.1</AssemblyVersion>
16+
<FileVersion>2.2.1</FileVersion>
1717
<Authors>DAIKOZ</Authors>
1818
<Description>SQLWrapper makes it easier to create code wrappers for SQL queries. It's a powerful tool that helps speed up development by reducing the need for manual coding. It works with databases various SQL database (MySQL, MariaDB, ...), checking the syntax and performance of SQL queries before you execute them.
1919

@@ -31,24 +31,10 @@ Overall, DAIKOZ.SQLWrapper is a handy tool for making SQL code easier to work wi
3131
<PackageReleaseNotes>
3232
# Changelog
3333

34-
## [2.2] (2024-08-02)
34+
## [2.2.1] (2025-04-20)
3535

3636
### SQLWrapper
37-
- Replace isnull by nullable attribute for database type
38-
39-
### Template
40-
- **Database VB**: add new template database-vb-ado.xslt and sql-vb-ado.xslt to generate Visual Basic .Net wrapper
41-
- Unify isnull and nullable for database type
42-
- **sql-csharp-ado.xslt**: Read data asyn (await reader.ReadAsync())
43-
- **Rename template** to use this rules:
44-
* database or sql: use database for template to apply to all database and use sql for template to apply on SQL queries
45-
* language: charp, vb, ...
46-
* type: ado
47-
- **Template available**:
48-
* **database-csharp-ado.xslt**: generate a database helper from schema xml in C# ADO
49-
* **database-vb-ado.xslt**: generate a database helper from schema xml in Visual Basic ADO
50-
* **sql-cshapr-ado.xslt**: generate a SQL query wrapper from schema xml and SQL query in C# ADO
51-
* **sql-vb-ado.xslt**: generate a SQL query wrapper from schema xml and SQL query in Visual Basic ADO
37+
- Fix #8 Wrong CSharp code generate with a SELECT with no WHERE #8
5238
</PackageReleaseNotes>
5339
<PackageLicenseFile>license.txt</PackageLicenseFile>
5440
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
@@ -75,7 +61,7 @@ Overall, DAIKOZ.SQLWrapper is a handy tool for making SQL code easier to work wi
7561
</ItemGroup>
7662

7763
<ItemGroup>
78-
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.10.4" />
64+
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.12.6" />
7965
</ItemGroup>
8066

8167
<ItemGroup>
-365 KB
Binary file not shown.
-149 KB
Binary file not shown.

SQLWrapper.sln

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Microsoft Visual Studio Solution File, Format Version 12.00
2+
# Visual Studio Version 17
3+
VisualStudioVersion = 17.5.2.0
4+
MinimumVisualStudioVersion = 10.0.40219.1
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Daikoz.SQLWrapper", "Daikoz.SQLWrapper\Daikoz.SQLWrapper.csproj", "{EA3BB06B-AE68-87CE-2F3F-FB0C2D26B33D}"
6+
EndProject
7+
Global
8+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
9+
Debug|Any CPU = Debug|Any CPU
10+
Release|Any CPU = Release|Any CPU
11+
EndGlobalSection
12+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
13+
{EA3BB06B-AE68-87CE-2F3F-FB0C2D26B33D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14+
{EA3BB06B-AE68-87CE-2F3F-FB0C2D26B33D}.Debug|Any CPU.Build.0 = Debug|Any CPU
15+
{EA3BB06B-AE68-87CE-2F3F-FB0C2D26B33D}.Release|Any CPU.ActiveCfg = Release|Any CPU
16+
{EA3BB06B-AE68-87CE-2F3F-FB0C2D26B33D}.Release|Any CPU.Build.0 = Release|Any CPU
17+
EndGlobalSection
18+
GlobalSection(SolutionProperties) = preSolution
19+
HideSolutionNode = FALSE
20+
EndGlobalSection
21+
GlobalSection(ExtensibilityGlobals) = postSolution
22+
SolutionGuid = {C6603A68-37FD-46CC-8C50-456D404C2FEA}
23+
EndGlobalSection
24+
EndGlobal

0 commit comments

Comments
 (0)