Solti.Utils.OrmLite.Extensions
4.0.0-preview1
This is a prerelease version of Solti.Utils.OrmLite.Extensions.
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 Solti.Utils.OrmLite.Extensions --version 4.0.0-preview1
NuGet\Install-Package Solti.Utils.OrmLite.Extensions -Version 4.0.0-preview1
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="Solti.Utils.OrmLite.Extensions" Version="4.0.0-preview1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Solti.Utils.OrmLite.Extensions --version 4.0.0-preview1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Solti.Utils.OrmLite.Extensions, 4.0.0-preview1"
#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.
// Install Solti.Utils.OrmLite.Extensions as a Cake Addin #addin nuget:?package=Solti.Utils.OrmLite.Extensions&version=4.0.0-preview1&prerelease // Install Solti.Utils.OrmLite.Extensions as a Cake Tool #tool nuget:?package=Solti.Utils.OrmLite.Extensions&version=4.0.0-preview1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Solti.Utils.OrmLite.Extensions
ServiceStack.OrmLite extensions
Schema API
using ServiceStack.DataAnnotations;
using Solti.Utils.OrmLite.Extension;
...
[DataTable]
[Values(1, "{4399A489-B140-4A04-BCBC-8C31082F431F}")] // predefined row
private class Table1
{
[PrimaryKey]
public int Id { get; set; }
public Guid Data {get; set;}
}
[DataTable]
[Values(1, 1)]
private class Table2_ReferencingTable1
{
[PrimaryKey]
public int Id { get; set; }
[References(typeof(Table1))]
public int Table1 { get; set; }
}
[DataTable]
private class Table3_ReferencingNode1AndTable2
{
[PrimaryKey]
public int Id { get; set; }
[References(typeof(Table1))]
public int Table1 { get; set; }
[References(typeof(Table2_ReferencingTable1))]
public int Table2 { get; set; }
}
...
var schema = new Schema(Connection, typeof(Table1).Assembly);
if (!schema.IsInitialized)
schema.Initialze();
else
{
schema.Migrate("step_1", "sql...");
schema.Migrate("step_2", "sql...");
}
...
schema.Drop();
Bulked write operations
using ServiceStack.OrmLite;
using Solti.Utils.OrmLite.Extension;
...
using IBulkedDbConnection connection = Connection.CreateBulkedDbConnection();
...
connection.Update(...);
connection.Insert(...);
connection.Delte(...);
...
connection.Flush(); // or FlushAsync()
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- ProxyGen.NET (>= 5.0.0)
- ServiceStack.OrmLite.Core (>= 5.13.2)
- Solti.Utils.Primitives (>= 6.1.2)
-
.NETStandard 2.1
- ProxyGen.NET (>= 5.0.0)
- ServiceStack.OrmLite.Core (>= 5.13.2)
- Solti.Utils.Primitives (>= 6.1.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.0.0 | 333 | 12/23/2022 |
7.0.0 | 448 | 8/31/2022 |
7.0.0-preview1 | 166 | 7/14/2022 |
6.0.1 | 583 | 3/17/2022 |
6.0.0 | 569 | 3/14/2022 |
5.0.0 | 324 | 1/3/2022 |
4.1.1 | 320 | 12/30/2021 |
4.1.0 | 300 | 12/29/2021 |
4.0.2 | 474 | 12/18/2021 |
4.0.1 | 386 | 12/12/2021 |
4.0.0 | 371 | 12/12/2021 |
4.0.0-preview1 | 194 | 12/8/2021 |
3.0.0 | 367 | 10/29/2021 |
2.1.0 | 434 | 4/7/2021 |
2.0.3 | 387 | 4/6/2021 |
2.0.2 | 412 | 4/5/2021 |
2.0.1 | 460 | 3/13/2021 |
2.0.0 | 420 | 3/13/2021 |
2.0.0-preview1 | 239 | 1/25/2021 |
1.1.3 | 491 | 10/21/2020 |
1.1.2 | 436 | 10/21/2020 |
1.1.1 | 472 | 10/5/2020 |
1.1.0 | 484 | 10/2/2020 |
1.0.1 | 445 | 9/28/2020 |
1.0.0 | 460 | 9/28/2020 |
1.0.0-preview2 | 428 | 9/27/2020 |
1.0.0-preview1 | 268 | 9/27/2020 |