MT.LightORM
2.0.0.4-alpha
This is a prerelease version of MT.LightORM.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package MT.LightORM --version 2.0.0.4-alpha
NuGet\Install-Package MT.LightORM -Version 2.0.0.4-alpha
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MT.LightORM" Version="2.0.0.4-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MT.LightORM" Version="2.0.0.4-alpha" />
<PackageReference Include="MT.LightORM" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MT.LightORM --version 2.0.0.4-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MT.LightORM, 2.0.0.4-alpha"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MT.LightORM@2.0.0.4-alpha
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MT.LightORM&version=2.0.0.4-alpha&prerelease
#tool nuget:?package=MT.LightORM&version=2.0.0.4-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
How to use?
create an singleton instance of IExpressionSqlContext like this
var option = new ExpressionSqlOptions();
var builder = new ExpressionSqlBuilder(option);
IExpressionSqlContext context = builder.Build(provider);
inject service in dot net core
builder.Services.AddLightOrm(option =>
{
option.SetDatabase(DbBaseType.Sqlite, () =>
{
return new SqliteConnection("DataSource=DB01.db");
}).InitializedContext<DbContext>();
});
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
-
net7.0
-
net8.0
NuGet packages (6)
Showing the top 5 NuGet packages that depend on MT.LightORM:
| Package | Downloads |
|---|---|
|
LightORM.Providers.Oracle
LightORM Oracle扩展 |
|
|
LightORM.Providers.Sqlite
LightORM Sqlite扩展 |
|
|
LightORM.Providers.MySql
LightORM MySql扩展 |
|
|
LightORM.Providers.SqlServer
LightORM SqlServer扩展 |
|
|
LightORM.Providers.PostgreSQL
LightORM PostgresSQL扩展 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.1.7.7 | 336 | 11/12/2025 |
| 3.1.7.6 | 181 | 10/14/2025 |
| 3.1.7.5 | 372 | 10/10/2025 |
| 3.1.7.4 | 310 | 9/18/2025 |
| 3.1.7.3 | 266 | 9/6/2025 |
| 3.1.7.2 | 213 | 9/5/2025 |
| 3.1.7.1 | 214 | 9/5/2025 |
| 3.1.7 | 250 | 8/26/2025 |
| 3.1.6.9 | 246 | 8/26/2025 |
| 3.1.6.8 | 189 | 8/12/2025 |
| 3.1.6.8-alpha1 | 136 | 8/9/2025 |
| 3.1.6.7 | 384 | 8/7/2025 |
| 3.1.6.7-pre2 | 252 | 8/7/2025 |
| 3.1.6.7-pre1 | 444 | 7/25/2025 |
| 3.1.6.6 | 1,516 | 7/22/2025 |
| 3.1.6.5 | 465 | 7/21/2025 |
| 3.1.6.4 | 185 | 7/17/2025 |
| 3.1.6.3 | 271 | 7/12/2025 |
| 3.1.6.2 | 178 | 7/9/2025 |
| 3.1.6.1 | 189 | 7/8/2025 |
| 3.1.6 | 186 | 7/7/2025 |
| 3.1.5.9 | 166 | 7/4/2025 |
| 3.1.5.8 | 190 | 6/25/2025 |
| 3.1.5.6 | 196 | 6/18/2025 |
| 3.1.5.5 | 335 | 6/12/2025 |
| 3.1.5.5-pre | 307 | 6/12/2025 |
| 3.1.5.4 | 177 | 6/6/2025 |
| 3.1.5.3 | 193 | 6/3/2025 |
| 3.1.5.2 | 226 | 4/23/2025 |
| 3.1.5.1 | 231 | 4/22/2025 |
| 3.1.5 | 328 | 4/21/2025 |
| 3.1.5-pre | 186 | 3/13/2025 |
| 3.1.4 | 294 | 1/17/2025 |
| 3.1.3 | 133 | 1/15/2025 |
| 3.1.2 | 216 | 10/23/2024 |
| 3.1.0 | 156 | 10/22/2024 |
| 3.0.9 | 214 | 10/19/2024 |
| 3.0.8 | 216 | 10/18/2024 |
| 3.0.7 | 163 | 10/16/2024 |
| 3.0.6 | 425 | 10/15/2024 |
| 3.0.5 | 182 | 10/10/2024 |
| 3.0.3 | 164 | 10/10/2024 |
| 3.0.1 | 196 | 10/9/2024 |
| 3.0.0 | 287 | 10/4/2024 |
| 2.1.9-pre | 228 | 9/30/2024 |
| 2.1.8-pre | 121 | 9/28/2024 |
| 2.1.7-pre | 120 | 9/28/2024 |
| 2.1.6-pre | 115 | 9/28/2024 |
| 2.1.5-pre | 131 | 9/28/2024 |
| 2.1.4 | 200 | 9/10/2024 |
| 2.1.3 | 216 | 8/24/2024 |
| 2.1.1 | 189 | 8/21/2024 |
| 2.1.0 | 185 | 8/20/2024 |
| 2.0.9 | 214 | 6/25/2024 |
| 2.0.8 | 199 | 5/11/2024 |
| 2.0.7 | 219 | 4/30/2024 |
| 2.0.6 | 188 | 4/24/2024 |
| 2.0.5 | 196 | 4/20/2024 |
| 2.0.4 | 188 | 4/18/2024 |
| 2.0.3 | 184 | 4/17/2024 |
| 2.0.2 | 184 | 4/17/2024 |
| 2.0.1-alpha | 133 | 4/16/2024 |
| 2.0.0.8-alpha | 141 | 4/15/2024 |
| 2.0.0.7-alpha | 156 | 4/1/2024 |
| 2.0.0.6-alpha | 165 | 3/31/2024 |
| 2.0.0.4-alpha | 168 | 3/29/2024 |
| 2.0.0.3-alpha | 172 | 3/26/2024 |
| 2.0.0.2-alpha | 156 | 3/25/2024 |
| 2.0.0.1-alpha | 158 | 3/22/2024 |
| 2.0.0-alpha | 157 | 3/21/2024 |
| 1.3.2 | 332 | 1/19/2024 |
| 1.3.1 | 290 | 1/18/2024 |
| 1.2.9 | 465 | 11/20/2023 |
| 1.2.8 | 567 | 5/12/2023 |
| 1.2.7 | 580 | 5/9/2023 |
| 1.2.5 | 651 | 4/9/2023 |
| 1.2.4 | 652 | 4/2/2023 |
| 1.2.3 | 682 | 3/15/2023 |
| 1.2.2 | 649 | 2/15/2023 |
| 1.2.1 | 750 | 1/13/2023 |
| 1.2.0 | 698 | 1/9/2023 |
| 1.1.8.9 | 737 | 1/1/2023 |
| 1.1.8.8 | 842 | 10/14/2022 |
| 1.1.8.7 | 796 | 9/7/2022 |
| 1.1.8.6 | 878 | 7/22/2022 |
| 1.1.8.4 | 851 | 7/14/2022 |
| 1.1.8.3 | 881 | 7/6/2022 |
| 1.1.8.2 | 872 | 6/30/2022 |
| 1.1.7.1 | 902 | 6/2/2022 |
| 1.1.7 | 900 | 5/17/2022 |
| 1.1.6 | 745 | 12/22/2021 |
| 1.1.5 | 744 | 12/7/2021 |
| 1.1.4 | 790 | 9/3/2021 |
| 1.1.3 | 750 | 9/1/2021 |
| 1.1.1 | 809 | 8/11/2021 |
| 1.1.0 | 766 | 8/11/2021 |
| 1.0.9 | 809 | 8/9/2021 |
| 1.0.8 | 813 | 8/6/2021 |
| 1.0.7 | 775 | 8/4/2021 |
| 1.0.6 | 765 | 8/4/2021 |
| 1.0.4 | 818 | 7/2/2021 |
| 1.0.3 | 761 | 7/1/2021 |