zzz projects Entity Framework 6 EF 6
Home EF Core Articles Knowledge Base Online Examples
  • Home
  • EF Core
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework 6 - Knowledge Base (KB)

3 results in tag: odata-v4

How does one define an (optional) navigation property (?$expand=) in code?

First the explanation and the gist, then the question. So:...Let's say I have a view ...AccountView... defined in EF (6.1.1) database first (edmx) so that the code-generated class is...//This class is generated from a view by EF (edmx)... public partial c...
asp.net-web-api asp.net-web-api-odata entity-framework-6 odata odata-v4
asked by Veksi

Expand into a DTO's navigation property using AutoMapper (using EF)

I am trying to expose a simple data model using an WebAPI OData service. My data is stored in a database which I am accessing using EF. Because the tables in my DB use different property names and there are too many fields which are needed in my DTO's, I ...
automapper c# entity-framework-6 odata-v4
asked by jonathan.meesschaert

OData - How to expand navigation property of base entity

I'm using Asp.Net WebApi Odata V4 with Entity Framework 6. I'm trying to expand navigation property of a derived class, but im getting below error....Base Entity...public abstract class BaseEntity { [ForeignKey("CreatedUser")] public string Create...
asp.net-web-api2 c# entity-framework-6 odata odata-v4
asked by Rahul

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Save your entities 20× faster with EF Extensions
SaveChanges vs BulkSaveChanges

EF Extensions
Try for free now
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!