Top "Navigation-properties" questions

Navigation Properties are used within The Entity Framework to Navigate to relations of a table.

Entity Framework - Add Navigation Property Manually

I generated an Entity Framework Model (4.0) from my database. I did not design the database and do not have any …

c# entity-framework entity-framework-4 navigation-properties
navigation property should be virtual - not required in ef core?

As I remember in EF navigation property should be virtual: public class Blog { public int BlogId { get; set; } public string …

c# entity-framework virtual entity-framework-core navigation-properties
EF codefirst : Should I initialize navigation properties?

I had seen some books(e.g programming entity framework code first Julia Lerman) define their domain classes (POCO) with …

c# entity-framework ef-code-first domain-driven-design navigation-properties
Not Exists using Linq

sorry for my english, I'll try to be short and concise. I have to tables "ALUMNOS" and "MATERIAS". In SQL …

c# linq entity-framework navigation-properties not-exists
Why Navigation Properties are virtual by default in EF

I have following POCO class being used in EF 6.x. My question: Why is the navigation property of 'Posts' under …

entity-framework navigation-properties
OData and WebAPI: Navigation property not present on model

I'm trying to put together a simple toy project using Entity Framework, WebAPI, OData, and an Angular client. Everything is …

c# entity-framework asp.net-web-api odata navigation-properties
Entity Framework - Include / Reference / Collection

I was wondering why there are separate methods for populating navigation properties. If I work on an entire set, i …

c# entity-framework navigation-properties
How to include all underlying navigation properties automatically with entity framework

Scenario: I'd like to add an entity to the database that would have navigation properties and that entity has navigation …

c# entity-framework lazy-loading navigation-properties
Navigation Property not loading when only the ID of the related object is populated

I am trying to establish a many-to-one relationship. The entity that represents the “many” has a navigation property pointing back …

c# ef-code-first entity-framework-4.1 entity-relationship navigation-properties
.Skip().Take() on Entity Framework Navigation Properties is executing SELECT * on my SQL Server

I have a method on my generated partial class like this: var pChildren = this.Children .Skip(skipRelated) .Take(takeRelated) .ToList(); …

c# .net entity-framework sql-server-2008-r2 navigation-properties