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

Entity Framework Core - Knowledge Base (KB)

2 results in tag: partial-classes

Extending an entity framework 6 class

I have the class generated by Entity Framework called Person.cs which is in namespace Project.Model....I have then put a new folder in the project called Extensions, added Person.cs inside there and set the namespace for this file to Project.Model....Afte...
c# entity-framework entity-framework-6 partial-classes
asked by dynamicuser

How to extend DbContext with partial class and partial OnModelCreating method in EntityFramework Core

I'm using EF Core DbFirst approach. My dbContext is created automatically by Scaffold-DbContext command. ...I need to add additional DbSets into a dbContext and add into OnModelCreating method of dbContext some additional code but after each scaffolding t...
c# entity-framework entity-framework-core partial partial-classes
asked by Dmitry Stepanov

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
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!