DataFac.Storage 0.60.8

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

DTOMaker

Build-Deploy

Includes model-driven source generators for quickly creating DTOs (Data Transport Objects) supporting the following serialization schemes:

  • MessagePack
  • MemBlocks

and related POCOs (Plain Old C# Objects).

Models are defined as C# interfaces with additional attributes. For example:

[Entity]
public interface IMyFirstDTO
{
    [Member(1)] string Name { get; set; }
}

Warning: This is pre-release software under active development. Breaking changes may occur.

This repo includes the following packages:

DTOMaker.Models

Attributes for defining simple data models as interfaces in C#.

DTOMaker.MessagePack

A source generator that creates MessagePack DTOs (Data Transport Objects). See https://github.com/MessagePack-CSharp/MessagePack-CSharp.

DTOMaker.Models.MessagePack

Additional attributes used by the DTOMaker.MessagePack source generator, to manage MessagePack entity and member keys.

DTOMaker.MemBlocks

Generates DTOs whose internal data is a single memory block (Memory<byte>). Property getters and setters decode and encode values directly to the block with little-endian (default) or big-endian byte ordering.

DTOMaker.Models.MemBlocks

Additional attributes used by the DTOMaker.MemBlocks source generator, to manage entity and member memory layout.

DTOMaker.CSPoco

Generates basic POCOs (Plain Old C# Objects) that implement the model interfaces.

DTOMaker.Runtime

Common types used at runtime by DTOMaker generated entities.

Model Features

  • Member value types: Boolean, S/Byte, U/Int16/32/64/128, Double, Single, Half, Char, Guid, Decimal
  • String member types:
    • Required or nullable strings for CSPoco and MessagePack
    • Non-nullable UTF8-encoded fixed length strings for MemBlocks
  • Variable length binary member types:
    • Octets (model interfaces, CSPoco, MemBlocks)
    • ReadOnlyMemory<byte> (MessagePack)
  • Built-in freezability (mutable until frozen) support
  • Templates as testable code, template-to-generator processing
  • [Obsolete] members
  • Fixed length arrays of above value types.
  • polymorphic types
  • entity members
  • IEquatable<T> support
  • auto-embedded entity members (MemBlocks)
  • auto-embedded binary members (MemBlocks)

Limitations

  • single compilation contains models and generated DTOs

In progress:

  • variable-length string members
  • auto-embedded string members (MemBlocks)

Coming soon:

  • implement IIncrementalGenerator
  • global interface equality comparer
  • fixed-length binary members (MemBlocks)
  • fixed-length string members (MemBlocks)
  • reservation (hidden members)
  • Json (NewtonSoft) generator
  • Json (System.Text) generator
  • Orleans generator
  • ProtobufNet 3.0 generator
  • MessagePack 3.x generator
  • NetStrux generator
  • MemBlocks compact layout method
  • Enum data types. Workaround - enums can be implemented with an underlying integer property and a cast.
  • MemBlocks nullable types. Workaround - T? can be implemented with a pair of members (Boolean, T).

Coming later:

  • custom struct members (to avoid primitive obsession)
  • C# records generator
  • Google Protobuf .proto generation
  • model.json generation
  • command-line alternative
  • generic model patterns: lists, trees, unions, etc.
  • variable length arrays
  • logical value equality
  • Rune member types
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 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 is compatible.  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 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 was computed. 
.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 (3)

Showing the top 3 NuGet packages that depend on DataFac.Storage:

Package Downloads
DTOMaker.Runtime.MemBlocks

Runtime types for DTOMaker.MemBlocks entities

DataFac.Storage.RocksDb

Storage interfaces, types and helpers.

DataFac.Storage.Testing

Storage interfaces, types and helpers.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.5 440 9/16/2025
1.0.4 482 8/25/2025
1.0.3 188 8/16/2025
1.0.2-dev 125 8/16/2025
1.0.1-dev 212 8/14/2025
0.69.8 225 8/13/2025
0.69.7-dev 218 8/13/2025
0.69.6-dev 226 8/12/2025
0.69.4-dev 197 8/9/2025
0.69.3-dev 155 7/19/2025
0.69.2-dev 154 7/19/2025
0.68.6 154 7/19/2025
0.68.5-dev 167 7/19/2025
0.68.2-dev 234 7/17/2025
0.68.1-dev 220 7/17/2025
0.67.7 229 7/17/2025
0.67.6-dev 251 7/9/2025
0.67.5-dev 249 7/9/2025
0.67.3-dev 226 7/7/2025
0.67.1-dev 382 6/10/2025
0.66.18 350 6/9/2025
0.66.17-dev 303 6/9/2025
0.66.16-dev 213 6/8/2025
0.66.14-dev 173 6/7/2025
0.66.13-dev 224 6/5/2025
0.66.10-dev 249 6/5/2025
0.66.9-dev 239 6/5/2025
0.66.8-dev 245 6/5/2025
0.66.7-dev 251 6/4/2025
0.66.2-dev 156 5/31/2025
0.65.20-generics-g24a665d336 173 5/31/2025
0.65.13-generics-ge74b19332f 270 4/23/2025
0.65.10-generics-g6f262eb134 300 4/17/2025
0.65.1-generics 163 5/31/2025
0.64.27 259 5/27/2025
0.64.26 310 5/16/2025
0.64.24 252 5/8/2025
0.64.22 283 4/23/2025
0.64.20 276 4/10/2025
0.64.18 284 4/10/2025
0.64.17 288 4/10/2025
0.64.16 282 4/9/2025
0.64.10 255 4/7/2025
0.64.9 255 4/4/2025
0.64.8-dev 272 4/1/2025
0.64.7-dev-g53a80ba3be 262 4/1/2025
0.64.5-dev-g449e36f771 577 3/25/2025
0.64.5-dev-g2fcf9bff64 263 4/1/2025
0.64.4-dev 269 4/1/2025
0.64.3-dev 247 3/31/2025
0.64.2-dev 587 3/25/2025
0.64.1-dev 574 3/25/2025
0.63.60-gee4d301e03 572 3/25/2025
0.63.19 192 3/21/2025
0.63.19-g2e909c64aa 193 3/21/2025
0.63.17 214 3/14/2025
0.63.16 205 3/14/2025
0.63.15 243 3/13/2025
0.63.13 300 3/11/2025
0.63.12 272 3/11/2025
0.63.11-dev 266 3/11/2025
0.63.9-dev 255 3/11/2025
0.63.8-dev 288 3/10/2025
0.63.7-dev 260 3/10/2025
0.63.6-dev 274 3/10/2025
0.63.3-dev 275 3/10/2025
0.62.10 359 3/8/2025
0.62.9 341 3/8/2025
0.62.7 338 3/7/2025
0.62.6-dev 312 3/7/2025
0.62.5-dev 321 3/7/2025
0.61.14 333 3/6/2025
0.61.13-dev 296 3/6/2025
0.61.12-dev 309 3/6/2025
0.61.10-dev 304 3/6/2025
0.61.9-dev 321 3/5/2025
0.61.8-dev 313 3/5/2025
0.61.5-dev 318 3/4/2025
0.61.3-dev 328 3/4/2025
0.61.2-dev 255 3/3/2025
0.60.8 262 2/27/2025
0.60.7 231 2/27/2025
0.60.6-dev 207 2/27/2025
0.60.3-dev 202 2/25/2025
0.59.10 233 2/19/2025
0.59.8-dev 199 2/19/2025
0.59.5-dev 211 2/17/2025
0.59.4-dev 205 2/15/2025
0.58.9 243 2/4/2025
0.58.8-dev 220 2/4/2025
0.57.6 220 2/1/2025
0.57.4 242 2/1/2025
0.57.2-dev 211 2/1/2025
0.57.1-dev 194 2/1/2025
0.56.13 247 1/31/2025
0.56.12-dev 207 1/31/2025
0.56.11-dev 208 1/30/2025
0.56.10-dev 195 1/30/2025
0.56.9-dev 200 1/30/2025