|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 |
|
3 | | - <PropertyGroup> |
4 | | - <TargetFramework>netstandard2.0</TargetFramework> |
5 | | - <LangVersion>latest</LangVersion> |
6 | | - <GeneratePackageOnBuild>true</GeneratePackageOnBuild> |
7 | | - <PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance> |
8 | | - <Version>1.1.19</Version> |
9 | | - <Authors>DAIKOZ</Authors> |
10 | | - <Company>DAIKOZ</Company> |
11 | | - <Copyright>© 2020 - DAIKOZ - All rights reserved</Copyright> |
12 | | - <PackageLicense>https://www.sqlwrapper.com</PackageLicense> |
13 | | - <PackageProjectUrl>https://www.sqlwrapper.com</PackageProjectUrl> |
14 | | - <RepositoryUrl>https://github.com/daikoz/SQLWrapper</RepositoryUrl> |
15 | | - <PackageTags>sql;wrapper;sqlwrapper;ado;dapper;mysql;mariadb;sql wrapper</PackageTags> |
16 | | - <PackageReleaseNotes></PackageReleaseNotes> |
17 | | - <Title>SQLWrapper</Title> |
18 | | - <Description> |
19 | | - A high performance SQL Wrapper and syntax checking supporting MySQL, MariaDB... SQLWrapper generate call code from SQL file and check SQL syntax before compile task. The call automatically created and check syntax identify database changes. |
| 3 | + <PropertyGroup> |
| 4 | + <TargetFramework>netstandard2.0</TargetFramework> |
| 5 | + <EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild> |
| 6 | + <EnableNETAnalyzers>True</EnableNETAnalyzers> |
| 7 | + <AnalysisLevel>latest</AnalysisLevel> |
| 8 | + <LangVersion>latest</LangVersion> |
| 9 | + <Nullable>enable</Nullable> |
20 | 10 |
|
21 | | - SQL Wrapper is not a ORM: it generate code form SQL request. It have better performance than linq or EntityFramework and there are not SQL limitation. |
| 11 | + <GeneratePackageOnBuild>True</GeneratePackageOnBuild> |
| 12 | + <PackageIcon>sqlwrapper.png</PackageIcon> |
| 13 | + <Title>SQL Wrapper Generator</Title> |
| 14 | + <Version>2.0.0</Version> |
| 15 | + <AssemblyVersion>2.0.0</AssemblyVersion> |
| 16 | + <FileVersion>2.0.0</FileVersion> |
| 17 | + <Authors>DAIKOZ</Authors> |
| 18 | + <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. |
22 | 19 |
|
23 | | - SQL Wrapper get database structure to check SQL syntax and generate a XML with all returned columns of SQL request. From this XML, you can apply our XLST (or the XLST provided) to generate the code. |
| 20 | +It's important to note that SQLWrapper isn't like other tools that map objects to database tables (ORMs). Instead, it directly generates code from your SQL queries and database structure, which performs better than tools like LINQ, EntityFramework, dapper, ... and doesn't have the same limitations. |
24 | 21 |
|
25 | | - Thus, SQL Wrapper can generate SQL call code from any language like C#, Java, Python, Javascript, VB .NET, ADO .NET ... |
26 | | - </Description> |
27 | | - <AssemblyVersion>1.1.19.0</AssemblyVersion> |
28 | | - <FileVersion>1.1.19.0</FileVersion> |
29 | | - <PackageLicenseUrl></PackageLicenseUrl> |
30 | | - <BuildOutputTargetFolder>dll</BuildOutputTargetFolder> |
31 | | - <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> |
32 | | - <NoWarn>NU5100</NoWarn> |
33 | | - <PackageIcon>sqlwrapper.png</PackageIcon> |
34 | | - <PackageIconUrl /> |
35 | | - <EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild> |
36 | | - <EnableNETAnalyzers>true</EnableNETAnalyzers> |
37 | | - </PropertyGroup> |
| 22 | +One feature is that it can look at your database's structure to check if your SQL queries are correct, and it can create an XML file listing all the data your queries need and return. Then, you can use XSLT templates to turn that XML into code in languages like C#, and more. |
38 | 23 |
|
39 | | - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> |
40 | | - <PlatformTarget>AnyCPU</PlatformTarget> |
41 | | - </PropertyGroup> |
| 24 | +Overall, DAIKOZ.SQLWrapper is a handy tool for making SQL code easier to work with, saving time, and helping you write better code.</Description> |
| 25 | + <Copyright>Copyright (c) DAIKOZ. All rights reserved.</Copyright> |
| 26 | + <PackageProjectUrl>https://www.sqlwrapper.com</PackageProjectUrl> |
| 27 | + <PackageReadmeFile>readme.md</PackageReadmeFile> |
| 28 | + <RepositoryUrl>https://github.com/daikoz/SQLWrapper</RepositoryUrl> |
| 29 | + <RepositoryType>github</RepositoryType> |
| 30 | + <PackageTags>sql;wrapper;sqlwrapper;ORM;dapper;linq;database;mysql;mariadb;server;mssql;pgsql;sqlite;postgres;postgresql;query;builder</PackageTags> |
| 31 | + <PackageReleaseNotes>Version 2.0.0: |
| 32 | +- increase performance to generate code from sql query |
| 33 | +- Add MariaDB database |
| 34 | +- Genere code under each sql file</PackageReleaseNotes> |
| 35 | + <PackageLicenseFile>license.txt</PackageLicenseFile> |
| 36 | + <PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> |
42 | 37 |
|
43 | | - <ItemGroup> |
44 | | - <PackageReference Include="Microsoft.Build.Framework" Version="16.8.0" PrivateAssets="All" /> |
45 | | - <PackageReference Include="Microsoft.Build.Utilities.Core" Version="16.8.0" PrivateAssets="All" /> |
46 | | - <PackageReference Include="Microsoft.CSharp" Version="4.7.0" PrivateAssets="All" /> |
47 | | - </ItemGroup> |
| 38 | + </PropertyGroup> |
48 | 39 |
|
49 | | - <ItemGroup> |
50 | | - <Content Include="build\*.targets" PackagePath="build\" /> |
51 | | - </ItemGroup> |
| 40 | + <Target Name="PostClean" AfterTargets="Clean"> |
| 41 | + <RemoveDir Directories="$(BaseOutputPath)" /> |
| 42 | + <RemoveDir Directories="$(BaseIntermediateOutputPath)" /> |
| 43 | + </Target> |
52 | 44 |
|
53 | | - <ItemGroup> |
54 | | - <Content Include="tools/**/*.*" PackagePath="tools\" /> |
55 | | - </ItemGroup> |
| 45 | + <ItemGroup> |
| 46 | + <Content Include="build\*.targets" PackagePath="build\" /> |
| 47 | + </ItemGroup> |
56 | 48 |
|
57 | | - <ItemGroup> |
58 | | - <Compile Remove="Properties\PublishProfiles\**" /> |
59 | | - <EmbeddedResource Remove="Properties\PublishProfiles\**" /> |
60 | | - <None Remove="Properties\PublishProfiles\**" /> |
61 | | - <None Include="..\..\Web\SQLWrapper.com\wwwroot\img\sqlwrapper.png"> |
62 | | - <Pack>True</Pack> |
63 | | - <PackagePath></PackagePath> |
64 | | - </None> |
65 | | - </ItemGroup> |
| 49 | + <ItemGroup> |
| 50 | + <Content Include="tools/**/*.*" PackagePath="tools\" /> |
| 51 | + </ItemGroup> |
66 | 52 |
|
67 | | - <ItemGroup> |
68 | | - <Compile Update="Properties\Resources.Designer.cs"> |
69 | | - <DesignTime>True</DesignTime> |
70 | | - <AutoGen>True</AutoGen> |
71 | | - <DependentUpon>Resources.resx</DependentUpon> |
72 | | - </Compile> |
73 | | - </ItemGroup> |
| 53 | + <ItemGroup> |
| 54 | + <None Include="..\..\Web\SQLWrapper.com\wwwroot\img\sqlwrapper.png" Pack="true" PackagePath="\" /> |
| 55 | + <None Include="readme.md" Pack="true" PackagePath="\" /> |
| 56 | + <None Include="license.txt" Pack="true" PackagePath="\" /> |
| 57 | + </ItemGroup> |
74 | 58 |
|
75 | | - <ItemGroup> |
76 | | - <Content Update="tools\SQLWrapper.exe"> |
77 | | - <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
78 | | - </Content> |
79 | | - <Content Update="tools\Template\csharp\ADO.xslt"> |
80 | | - <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
81 | | - </Content> |
82 | | - <Content Update="tools\Template\csharp\helper.xslt"> |
83 | | - <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
84 | | - </Content> |
85 | | - </ItemGroup> |
| 59 | + <ItemGroup> |
| 60 | + <PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.9.5" /> |
| 61 | + </ItemGroup> |
86 | 62 |
|
87 | | - <ItemGroup> |
88 | | - <EmbeddedResource Update="Properties\Resources.resx"> |
89 | | - <Generator>ResXFileCodeGenerator</Generator> |
90 | | - <LastGenOutput>Resources.Designer.cs</LastGenOutput> |
91 | | - </EmbeddedResource> |
92 | | - </ItemGroup> |
| 63 | + <ItemGroup> |
| 64 | + <Compile Update="Resource.Designer.cs"> |
| 65 | + <DesignTime>True</DesignTime> |
| 66 | + <AutoGen>True</AutoGen> |
| 67 | + <DependentUpon>Resource.resx</DependentUpon> |
| 68 | + </Compile> |
| 69 | + </ItemGroup> |
93 | 70 |
|
94 | | - <Target Name="PackTaskDependencies" BeforeTargets="GenerateNuspec"> |
95 | | - <!-- |
96 | | - The include needs to happen after output has been copied to build output folder |
97 | | - but before NuGet generates a nuspec. See https://github.com/NuGet/Home/issues/4704. |
98 | | - --> |
99 | | - <ItemGroup> |
100 | | - <_PackageFiles Include="bin\$(Configuration)\*\Microsoft.Build.Framework.dll;bin\$(Configuration)\*\Microsoft.Build.Utilities.Core.dll;bin\$(Configuration)\*\Microsoft.CSharp.dll;bin\$(Configuration)\*\System.Collections.Immutable.dll;bin\$(Configuration)\*\System.Runtime.Serialization.Primitives.dll;bin\$(Configuration)\*\System.Threading.dll;bin\$(Configuration)\*\System.Threading.Thread.dll"> |
101 | | - <PackagePath>dll\</PackagePath> |
102 | | - <Visible>false</Visible> |
103 | | - <BuildAction>Content</BuildAction> |
104 | | - </_PackageFiles> |
105 | | - </ItemGroup> |
106 | | - </Target> |
| 71 | + <ItemGroup> |
| 72 | + <EmbeddedResource Update="Resource.resx"> |
| 73 | + <Generator>ResXFileCodeGenerator</Generator> |
| 74 | + <LastGenOutput>Resource.Designer.cs</LastGenOutput> |
| 75 | + </EmbeddedResource> |
| 76 | + </ItemGroup> |
107 | 77 |
|
108 | 78 | </Project> |
0 commit comments