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)

6 results in tag: partial-classes

Adding new constructors to entity

I'm using EF4.3. It's my first project so I'm learning as I go along....There are instances where I need to implment additional constructors for entities. I create an additional partial class to do this, so entity Users, will have an associated class User...
.net c# entity-framework partial-classes
asked by dotnetnoob

Partial class on a model when Entity Framework is in separate library

I am not sure if this is the correct way to go, if so, please advise otherwise....This is an ASP.Net MVC 4 site using EF 5.x...Suppose you have your Entity Framework in a class library on it's own. Code Generation Item has now generated all of your Model...
asp.net-mvc entity-framework partial-classes
asked by Darren Wainwright

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

Placement of extended partial classes in entity framework

Since partial classes have to be in the same namespace is my only option to place them in the same directy as my .edmx? If this is the case I am assuming the file name always has to be different. ...Also, is there anything additional that I have to do or ...
c# entity-framework partial-classes
asked by JTunney

How can I alias partial classes generated by Entity Framework Code First From Database?

I'm learning EF code first from database using ...this MSDN tutorial.... The generated model partial class names always match the database object names. Instead ...I'd like to assign an alias to the generated database model objects. How should I go about ...
c# ef-code-first entity-framework-6 partial-classes
asked by DeveloperDan

How to set value of a property from iputs of View in auto generated partial class in asp.net MVC

I'm working in a ASP.NET MVC(EF6) database first project and I have an auto generated partial class in my Models folder like this:...public partial class StdModel { public string StdName { get; set; } public int StdNr { get; set; } } ...Because th...
asp.net-mvc c# entity-framework-6 partial-classes properties
asked by H35am

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!