KininTech.SqlMapping
3.0.0
Prefix Reserved
See the version list below for details.
dotnet add package KininTech.SqlMapping --version 3.0.0
NuGet\Install-Package KininTech.SqlMapping -Version 3.0.0
<PackageReference Include="KininTech.SqlMapping" Version="3.0.0" />
paket add KininTech.SqlMapping --version 3.0.0
#r "nuget: KininTech.SqlMapping, 3.0.0"
// Install KininTech.SqlMapping as a Cake Addin #addin nuget:?package=KininTech.SqlMapping&version=3.0.0 // Install KininTech.SqlMapping as a Cake Tool #tool nuget:?package=KininTech.SqlMapping&version=3.0.0
Provide an easy way of mapping objects to SQL Server database table by using Attributes. If you want to query a database table but do not want to write complex and complicated SQL query, you can use this package. By just specifying some metadata on class and its property using attributes, you can start querying the table in no time.
Important Note: The main class for this package, EntityTable, implements IEnumerable interface, so you can easily use Linq to query the entities in the EntityTable as the entities are mapped to the records in the database table.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
In this second major release (v.3.0.0) of KininTech.SqlMapping, there are a lot of significant additions and changes made to the package.
v.3.0.0 changes:
Major Announcement from the Author: I would like to apologize for the package's inconvenient and ambiguous checkings that caused improbable exceptions during model validation. Especially, the nullable types between SQL Server and .NET Framework were not handled correctly. Moreover, the introduction of Key class has made the usage of the EntityTable class more complex. Having taken these factors into consideration, I decided to make the following changes:
- The Key class and the associated methods GetByKey(), Contains(), Delete() have been removed.
- The EntityTable class can now checks a nullable property correctly regardless of it being a generic, Nullable, type.
- The EntityTable class can now checks and retrieves the correct nullable value for the correct types in each Sql operation.
- Some unneccessary codes have been removed; some similar codes have been merged, so there is slight increase in the performance.
The next major release v.4.0.0 will be launched anytime between mid- and late- August, 2020. However, until then, the minor release of v3.0.0 will still be going on, so you will receieve one or two minor releases of v.2.0.0.