MT.LightORM
2.0.0.2-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.2-alpha
NuGet\Install-Package MT.LightORM -Version 2.0.0.2-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.2-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.2-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.2-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MT.LightORM, 2.0.0.2-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.2-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.2-alpha&prerelease
#tool nuget:?package=MT.LightORM&version=2.0.0.2-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 | 151 | 11/12/2025 |
| 3.1.7.6 | 177 | 10/14/2025 |
| 3.1.7.5 | 367 | 10/10/2025 |
| 3.1.7.4 | 307 | 9/18/2025 |
| 3.1.7.3 | 262 | 9/6/2025 |
| 3.1.7.2 | 210 | 9/5/2025 |
| 3.1.7.1 | 211 | 9/5/2025 |
| 3.1.7 | 247 | 8/26/2025 |
| 3.1.6.9 | 243 | 8/26/2025 |
| 3.1.6.8 | 186 | 8/12/2025 |
| 3.1.6.8-alpha1 | 135 | 8/9/2025 |
| 3.1.6.7 | 380 | 8/7/2025 |
| 3.1.6.7-pre2 | 251 | 8/7/2025 |
| 3.1.6.7-pre1 | 443 | 7/25/2025 |
| 3.1.6.6 | 1,511 | 7/22/2025 |
| 3.1.6.5 | 462 | 7/21/2025 |
| 3.1.6.4 | 182 | 7/17/2025 |
| 3.1.6.3 | 268 | 7/12/2025 |
| 3.1.6.2 | 175 | 7/9/2025 |
| 3.1.6.1 | 186 | 7/8/2025 |
| 3.1.6 | 183 | 7/7/2025 |
| 3.1.5.9 | 163 | 7/4/2025 |
| 3.1.5.8 | 187 | 6/25/2025 |
| 3.1.5.6 | 193 | 6/18/2025 |
| 3.1.5.5 | 332 | 6/12/2025 |
| 3.1.5.5-pre | 306 | 6/12/2025 |
| 3.1.5.4 | 174 | 6/6/2025 |
| 3.1.5.3 | 190 | 6/3/2025 |
| 3.1.5.2 | 223 | 4/23/2025 |
| 3.1.5.1 | 228 | 4/22/2025 |
| 3.1.5 | 325 | 4/21/2025 |
| 3.1.5-pre | 185 | 3/13/2025 |
| 3.1.4 | 291 | 1/17/2025 |
| 3.1.3 | 130 | 1/15/2025 |
| 3.1.2 | 214 | 10/23/2024 |
| 3.1.0 | 154 | 10/22/2024 |
| 3.0.9 | 212 | 10/19/2024 |
| 3.0.8 | 214 | 10/18/2024 |
| 3.0.7 | 161 | 10/16/2024 |
| 3.0.6 | 423 | 10/15/2024 |
| 3.0.5 | 180 | 10/10/2024 |
| 3.0.3 | 162 | 10/10/2024 |
| 3.0.1 | 194 | 10/9/2024 |
| 3.0.0 | 285 | 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 | 198 | 9/10/2024 |
| 2.1.3 | 214 | 8/24/2024 |
| 2.1.1 | 187 | 8/21/2024 |
| 2.1.0 | 183 | 8/20/2024 |
| 2.0.9 | 212 | 6/25/2024 |
| 2.0.8 | 197 | 5/11/2024 |
| 2.0.7 | 217 | 4/30/2024 |
| 2.0.6 | 186 | 4/24/2024 |
| 2.0.5 | 194 | 4/20/2024 |
| 2.0.4 | 186 | 4/18/2024 |
| 2.0.3 | 182 | 4/17/2024 |
| 2.0.2 | 182 | 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 | 330 | 1/19/2024 |
| 1.3.1 | 288 | 1/18/2024 |
| 1.2.9 | 465 | 11/20/2023 |
| 1.2.8 | 567 | 5/12/2023 |
| 1.2.7 | 579 | 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 |