Skip to content

M2M4RIA is an extension for OpenRIAServices that adds support for many-2-many relations.

License

Notifications You must be signed in to change notification settings

niklas-holma/OpenRiaServices.M2M

 
 

Repository files navigation

Build status Build Status

Sonarcloud status Quality Gate Status Security Rating Maintainability Rating Reliability Rating Bugs

Nuget Nuget preview Nuget (with prereleases)

Overview

M2M4RIA is an extension for OpenRIAServices that adds support for many-2-many relations.

Features

  • Can be installed with NuGet.
  • Supports Entity Framework code-first, model first, and DbContext.
  • A strongly-typed configuration mechanism using the Fluent Metadata API for OpenRIAServices
  • A code generator that seamlessly integrates with the code generator of OpenRIAServices.
  • Requires only a minimal adaption of your data model (see StepByStepInstructions on wiki).
  • Supports many-2-many relations with composite keys.

Download

M2M4RIA is distributed as a collection of NuGet packages:

Usage

  1. Add the M2M4RIA NuGet packages to your solution.
  2. Create LinkTable entities (By subclassing a generic LinkTable class provided by M2M4RIA).
  3. Extend your data model with "link table" views.
  4. Configure your M2M relations using the fluent metadata API.
  5. Add Insert/Delete operations to your domain service for your link table entities A complete step-by-step guide is provided here.

Demo

The source code repository contains a sample application that shows how M2M4RIA can be used..

See Also

For more information and installation instructions go to https://github.com/OpenRIAServices/OpenRiaServices.M2M and check the wiki

Step by step guide is availible at the wiki

About

M2M4RIA is an extension for OpenRIAServices that adds support for many-2-many relations.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 94.2%
  • ASP.NET 3.0%
  • HTML 2.8%