Microsoft.Restier.EntityFramework
0.1.0-pre
Prefix Reserved
See the version list below for details.
dotnet add package Microsoft.Restier.EntityFramework --version 0.1.0-pre
NuGet\Install-Package Microsoft.Restier.EntityFramework -Version 0.1.0-pre
<PackageReference Include="Microsoft.Restier.EntityFramework" Version="0.1.0-pre" />
paket add Microsoft.Restier.EntityFramework --version 0.1.0-pre
#r "nuget: Microsoft.Restier.EntityFramework, 0.1.0-pre"
// Install Microsoft.Restier.EntityFramework as a Cake Addin #addin nuget:?package=Microsoft.Restier.EntityFramework&version=0.1.0-pre&prerelease // Install Microsoft.Restier.EntityFramework as a Cake Tool #tool nuget:?package=Microsoft.Restier.EntityFramework&version=0.1.0-pre&prerelease
A module that connects the RESTier to an Entity Framework based data source proxy.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- EntityFramework (>= 6.1.1)
- Microsoft.OData.Edm (>= 6.7.0)
- Microsoft.Restier.Core (>= 0.1.0-pre)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Microsoft.Restier.EntityFramework:
Package | Downloads |
---|---|
RestierEssentials
A set of extensions to make working with Restier more awesome! |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Microsoft.Restier.EntityFramework:
Repository | Stars |
---|---|
OData/RESTier
A turn-key library for building RESTful services
|
|
OData/ODataSamples
Samples: For ODataLib, OData Web API, RESTier, etc.
|
Features
• Easily build an OData V4 service
o Supported features
- Basic queries for metadata and top level entities.
- System query options $select, $expand, $filter, $orderby, $top, $skip, $orderby, $format.
- Requesting related entities
- Create, Update and Delete on top-level entities
- Batch request
o Leverage attribute routing to fall back to Web API OData for features not directly supported by RESTier
- Requesting entity references with $ref
- Create, Update and Delete on none top-level entities
- Modify relationships between entities.
o EdmModelExtender to support features like operations that currently not directly supported by RESTier.
• Rich domain logic
o Role-based security
You can easily set restrictions for different entity set. For example, you can make users have READ permission on some of the entity sets and INSPECT (only view it on $metadata) on others.
o Imperative views
Customized entity set which are not in data model can be easily added. Currently CUD operations are not allowed on these entity sets yet.
o Entity set filters
With entity set filters, you can easily set filters before entity data show up. For example, you want users to see only part of Customer according to UserID, you can use entity set filters.
o Submit logic
With submit logic, you can customize behavior when / after a specific operation on an entity set.
Document and Tutorials
https://github.com/OData/RESTier/wiki