Skip to content

Do we need virtual in properties of Models? #6

Open
@thiennn

Description

@thiennn

I see there are some properties in model are marked with virtual. Normally when using entity framework 6, we will mark properties virtual for lazy loading. But here is EF Core.

I wonder if you could share me the reason for marking virtual here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions