Devlooped.TableStorage.Source
1.0.4
Prefix Reserved
See the version list below for details.
dotnet add package Devlooped.TableStorage.Source --version 1.0.4
NuGet\Install-Package Devlooped.TableStorage.Source -Version 1.0.4
<PackageReference Include="Devlooped.TableStorage.Source" Version="1.0.4" />
paket add Devlooped.TableStorage.Source --version 1.0.4
#r "nuget: Devlooped.TableStorage.Source, 1.0.4"
// Install Devlooped.TableStorage.Source as a Cake Addin #addin nuget:?package=Devlooped.TableStorage.Source&version=1.0.4 // Install Devlooped.TableStorage.Source as a Cake Tool #tool nuget:?package=Devlooped.TableStorage.Source&version=1.0.4
Source-only package for repository pattern with POCO object support for storing to Azure/CosmosDB Table Storage.
Usage:
Given the following class:
[Table("Products")]
class Product
{
// NOTE: custom constructor
public Product(string category, string id)
{
Category = category;
Id = id;
}
// NOTE: read-only property
[PartitionKey]
public string Category { get; }
[RowKey]
public string Id { get; }
public string? Title { get; set; }
public double Price { get; set; }
}
It can be persisted and retrieved with:
var account = CloudStorageAccount.DevelopmentStorageAccount; // or production one
var repo = new TableRepository<Product>(storageAccount);
var product = new Product("catId-asdf", "1234")
{
Title = "Table Storage is Cool",
Price = 25.5,
};
// Insert or Update behavior (aka "upsert")
await repo.PutAsync(product);
// Enumerate all products in category "catId-asdf"
await foreach (var p in repo.EnumerateAsync("catId-asdf")
Console.WriteLine(p.Price);
// Get previously saved product.
Product saved = await repo.GetAsync("catId-asdf", "1234");
// Delete product
await repo.DeleteAsync("catId-asdf", "1234");
// Can also delete passing entity
await repo.DeleteAsync(saved);
Built from https://github.com/devlooped/TableStorage/tree/731d423fa
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. |
-
.NETStandard 2.0
- Microsoft.Azure.Cosmos.Table (>= 1.0.8)
- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- Newtonsoft.Json (>= 13.0.1)
-
.NETStandard 2.1
- Microsoft.Azure.Cosmos.Table (>= 1.0.8)
- Newtonsoft.Json (>= 13.0.1)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Devlooped.TableStorage.Source:
Package | Downloads |
---|---|
Devlooped.TableStorage.Protobuf.Source
A source-only Protocol Buffers binary serializer for use with document-based repositories. > This project uses SponsorLink and may issue IDE-only warnings if no active sponsorship is detected. > Learn more at https://github.com/devlooped#sponsorlink. |
|
Devlooped.TableStorage.Bson.Source
A source-only BSON binary serializer for use with document-based repositories. > This project uses SponsorLink and may issue IDE-only warnings if no active sponsorship is detected. > Learn more at https://github.com/devlooped#sponsorlink. |
|
Devlooped.TableStorage.MessagePack.Source
A source-only MessagePack binary serializer for use with document-based repositories. > This project uses SponsorLink and may issue IDE-only warnings if no active sponsorship is detected. > Learn more at https://github.com/devlooped#sponsorlink. |
|
Devlooped.TableStorage.Newtonsoft.Source
A source-only Newtonsoft.Json-based serializer for use with document-based repositories. > This project uses SponsorLink and may issue IDE-only warnings if no active sponsorship is detected. > Learn more at https://github.com/devlooped#sponsorlink. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
5.2.1 | 194 | 10/22/2024 |
5.2.0 | 172 | 7/24/2024 |
5.2.0-rc.1 | 50 | 7/13/2024 |
5.2.0-rc | 195 | 7/10/2024 |
5.2.0-beta | 220 | 7/6/2024 |
5.1.2 | 516 | 1/25/2024 |
5.1.1 | 1,054 | 10/4/2023 |
5.1.0 | 1,028 | 8/11/2023 |
5.0.2 | 851 | 8/8/2023 |
5.0.1 | 405 | 7/25/2023 |
5.0.0 | 504 | 7/25/2023 |
4.3.1 | 546 | 7/24/2023 |
4.3.0 | 473 | 6/27/2023 |
4.2.1 | 587 | 4/17/2023 |
4.2.0 | 733 | 3/28/2023 |
4.1.3 | 916 | 1/20/2023 |
4.1.2 | 968 | 1/16/2023 |
4.0.0 | 1,506 | 8/26/2022 |
4.0.0-rc.1 | 103 | 8/26/2022 |
4.0.0-rc | 891 | 8/15/2022 |
4.0.0-beta | 872 | 5/17/2022 |
4.0.0-alpha | 828 | 5/4/2022 |
3.2.0 | 1,339 | 12/13/2021 |
3.1.1 | 1,340 | 8/29/2021 |
3.1.0 | 1,389 | 8/13/2021 |
3.0.3 | 1,368 | 7/28/2021 |
3.0.2 | 1,362 | 7/1/2021 |
2.0.2 | 1,384 | 6/23/2021 |
2.0.1 | 1,462 | 6/17/2021 |
2.0.0 | 1,558 | 6/16/2021 |
1.3.0 | 1,093 | 5/31/2021 |
1.2.1 | 536 | 5/29/2021 |
1.2.0 | 446 | 5/26/2021 |
1.1.1 | 467 | 5/26/2021 |
1.1.0 | 430 | 5/26/2021 |
1.0.4 | 446 | 5/16/2021 |