Muonroi.EntityFrameworkCore.Configuration 2.0.2

dotnet add package Muonroi.EntityFrameworkCore.Configuration --version 2.0.2
                    
NuGet\Install-Package Muonroi.EntityFrameworkCore.Configuration -Version 2.0.2
                    
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="Muonroi.EntityFrameworkCore.Configuration" Version="2.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Muonroi.EntityFrameworkCore.Configuration" Version="2.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Muonroi.EntityFrameworkCore.Configuration" />
                    
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 Muonroi.EntityFrameworkCore.Configuration --version 2.0.2
                    
#r "nuget: Muonroi.EntityFrameworkCore.Configuration, 2.0.2"
                    
#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 Muonroi.EntityFrameworkCore.Configuration@2.0.2
                    
#: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=Muonroi.EntityFrameworkCore.Configuration&version=2.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Muonroi.EntityFrameworkCore.Configuration&version=2.0.2
                    
Install as a Cake Tool

Muonroi.EntityFrameworkCore.Configuration

NuGet

Base entity configurations and attributes for Muonroi data models.

Overview

Provides foundational abstractions like MEntityConfigurationBase and attributes such as SiteColumnAttribute to standardize Entity Framework Core model creation and schema definitions.

Features

  • Standard Configurations: Inherit from MEntityConfigurationBase for consistent entity maps.
  • Schema Attributes: Decorate properties with SiteColumnAttribute for domain-specific schema definitions.

Installation

dotnet add package Muonroi.EntityFrameworkCore.Configuration

Quick Start

public class UserConfiguration : MEntityConfigurationBase<User>
{
    public override void Configure(EntityTypeBuilder<User> builder)
    {
        base.Configure(builder); // Applies standard conventions
        builder.Property(x => x.Name).HasMaxLength(100);
    }
}

public class User
{
    [SiteColumn("TenantId")]
    public string SiteId { get; set; }
}

Ecosystem Combinations

Muonroi.EntityFrameworkCore.Configuration + Muonroi.Governance

Use SiteColumnAttribute to map tenant identifiers that are evaluated by the MPolicyDecisionService during multi-tenant data access.

Samples

Find complete running examples in the ../../samples/ directory.

License

This project is licensed under the terms of the applicable Muonroi license.

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Muonroi.EntityFrameworkCore.Configuration:

Package Downloads
Muonroi.Data.EntityFrameworkCore

Entity Framework Core infrastructure for Muonroi: MDbContext with audit, soft-delete, multi-tenant filters, and repository base.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.2 434 8/26/2026
2.0.1 353 8/26/2026
2.0.0 395 8/14/2026