MT.LightORM 2.0.7

There is a newer version of this package available.
See the version list below for details.
dotnet add package MT.LightORM --version 2.0.7
                    
NuGet\Install-Package MT.LightORM -Version 2.0.7
                    
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.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MT.LightORM" Version="2.0.7" />
                    
Directory.Packages.props
<PackageReference Include="MT.LightORM" />
                    
Project file
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.7
                    
#r "nuget: MT.LightORM, 2.0.7"
                    
#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.7
                    
#: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.7
                    
Install as a Cake Addin
#tool nuget:?package=MT.LightORM&version=2.0.7
                    
Install as a Cake Tool

How to use?

configuration

var path = Path.GetFullPath("../../../test.db");
ExpSqlFactory.Configuration(option =>
{
    option.SetDatabase(DbBaseType.Sqlite, "DataSource=" + path, SQLiteFactory.Instance);
    option.SetWatcher(aop =>
    {
        aop.DbLog = (sql, p) =>
        {
            Console.WriteLine(sql);
        };
    }).InitializedContext<TestInitContext>();
});

// get IExpressionContext instance
IExpressionContext context = ExpSqlFactory.GetContext();

inject service in dot net core

var path = Path.GetFullPath("../../../test.db");
builder.Services.AddLightOrm(option =>
{
    option.SetDatabase(DbBaseType.Sqlite, "DataSource=" + path, SQLiteFactory.Instance).InitializedContext<TestInitContext>();
});
Product 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. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.6 172 10/14/2025
3.1.7.5 364 10/10/2025
3.1.7.4 305 9/18/2025
3.1.7.3 260 9/6/2025
3.1.7.2 208 9/5/2025
3.1.7.1 209 9/5/2025
3.1.7 244 8/26/2025
3.1.6.9 240 8/26/2025
3.1.6.8 184 8/12/2025
3.1.6.8-alpha1 133 8/9/2025
3.1.6.7 378 8/7/2025
3.1.6.7-pre2 251 8/7/2025
3.1.6.7-pre1 441 7/25/2025
3.1.6.6 1,509 7/22/2025
3.1.6.5 460 7/21/2025
3.1.6.4 179 7/17/2025
3.1.6.3 266 7/12/2025
3.1.6.2 172 7/9/2025
3.1.6.1 184 7/8/2025
3.1.6 180 7/7/2025
3.1.5.9 160 7/4/2025
3.1.5.8 183 6/25/2025
3.1.5.6 191 6/18/2025
3.1.5.5 330 6/12/2025
3.1.5.5-pre 305 6/12/2025
3.1.5.4 172 6/6/2025
3.1.5.3 188 6/3/2025
3.1.5.2 220 4/23/2025
3.1.5.1 226 4/22/2025
3.1.5 323 4/21/2025
3.1.5-pre 185 3/13/2025
3.1.4 289 1/17/2025
3.1.3 128 1/15/2025
3.1.2 211 10/23/2024
3.1.0 151 10/22/2024
3.0.9 209 10/19/2024
3.0.8 211 10/18/2024
3.0.7 158 10/16/2024
3.0.6 420 10/15/2024
3.0.5 177 10/10/2024
3.0.3 159 10/10/2024
3.0.1 191 10/9/2024
3.0.0 282 10/4/2024
2.1.9-pre 227 9/30/2024
2.1.8-pre 120 9/28/2024
2.1.7-pre 119 9/28/2024
2.1.6-pre 114 9/28/2024
2.1.5-pre 130 9/28/2024
2.1.4 195 9/10/2024
2.1.3 211 8/24/2024
2.1.1 184 8/21/2024
2.1.0 180 8/20/2024
2.0.9 209 6/25/2024
2.0.8 194 5/11/2024
2.0.7 214 4/30/2024
2.0.6 183 4/24/2024
2.0.5 191 4/20/2024
2.0.4 183 4/18/2024
2.0.3 179 4/17/2024
2.0.2 179 4/17/2024
2.0.1-alpha 132 4/16/2024
2.0.0.8-alpha 140 4/15/2024
2.0.0.7-alpha 155 4/1/2024
2.0.0.6-alpha 164 3/31/2024
2.0.0.4-alpha 167 3/29/2024
2.0.0.3-alpha 171 3/26/2024
2.0.0.2-alpha 155 3/25/2024
2.0.0.1-alpha 157 3/22/2024
2.0.0-alpha 156 3/21/2024
1.3.2 327 1/19/2024
1.3.1 285 1/18/2024
1.2.9 464 11/20/2023
1.2.8 564 5/12/2023
1.2.7 577 5/9/2023
1.2.5 648 4/9/2023
1.2.4 649 4/2/2023
1.2.3 679 3/15/2023
1.2.2 646 2/15/2023
1.2.1 747 1/13/2023
1.2.0 695 1/9/2023
1.1.8.9 734 1/1/2023
1.1.8.8 839 10/14/2022
1.1.8.7 793 9/7/2022
1.1.8.6 877 7/22/2022
1.1.8.4 850 7/14/2022
1.1.8.3 880 7/6/2022
1.1.8.2 871 6/30/2022
1.1.7.1 900 6/2/2022
1.1.7 898 5/17/2022
1.1.6 742 12/22/2021
1.1.5 740 12/7/2021
1.1.4 787 9/3/2021
1.1.3 747 9/1/2021
1.1.1 806 8/11/2021
1.1.0 763 8/11/2021
1.0.9 806 8/9/2021
1.0.8 810 8/6/2021
1.0.7 772 8/4/2021
1.0.6 762 8/4/2021
1.0.4 815 7/2/2021
1.0.3 758 7/1/2021