Devlooped.TableStorage 1.2.1

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Devlooped.TableStorage --version 1.2.1
NuGet\Install-Package Devlooped.TableStorage -Version 1.2.1
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="Devlooped.TableStorage" Version="1.2.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Devlooped.TableStorage --version 1.2.1
#r "nuget: Devlooped.TableStorage, 1.2.1"
#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 Devlooped.TableStorage as a Cake Addin
#addin nuget:?package=Devlooped.TableStorage&version=1.2.1

// Install Devlooped.TableStorage as a Cake Tool
#tool nuget:?package=Devlooped.TableStorage&version=1.2.1

Repository pattern with POCO object support for storing to Azure/Cosmos DB 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 = TableRepository.Create<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/171d672da

Product 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.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Devlooped.TableStorage:

Package Downloads
Devlooped.TableStorage.Protobuf The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A Protocol Buffers binary serializer for use with document-based repositories.

Devlooped.TableStorage.MessagePack The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A MessagePack binary serializer for use with document-based repositories.

Devlooped.TableStorage.Bson The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A BSON binary serializer for use with document-based repositories.

Devlooped.TableStorage.Newtonsoft The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A Json.NET serializer for use with document-based repositories.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.1.2 533 1/25/2024
5.1.1 270 10/4/2023
5.1.0 458 8/11/2023
4.1.3 1,168 1/20/2023
4.1.2 777 1/16/2023
4.0.0 1,452 8/26/2022
4.0.0-rc.1 97 8/26/2022
4.0.0-rc 298 8/15/2022
4.0.0-beta 445 5/17/2022
4.0.0-alpha 324 5/4/2022
3.2.0 1,605 12/13/2021
3.1.1 1,325 8/29/2021
3.1.0 1,222 8/13/2021
3.0.3 1,197 7/28/2021
3.0.2 1,281 7/1/2021
2.0.2 1,311 6/23/2021
2.0.1 1,302 6/17/2021
2.0.0 1,279 6/16/2021
1.3.0 1,055 5/31/2021
1.2.1 442 5/29/2021
1.2.0 456 5/26/2021
1.0.4 566 5/16/2021