Tags » Entity Framework

Entity Splitting in Entity Framework

I have done a lot of post on Entity Framework Code First which includes some simple tips and tricks to more complex scenarios of mapping relationship and here are some of those post if you want to read them. 378 more words


Types of Entity in Entity Framework

There are two types of Entities in Entity Framework 5.0/6.0: POCO entity and dynamic proxy entity.

  1. POCO Entity (Plain Old CLR Object)
    1. POCO class is the class that doesn’t depend on any framework specific base class.
  2. 277 more words

What is meant by DBContext???

Prior to EntityFramework 4.1, EDM used to generate context classes that were derived from the ObjectContext class. It was a little tricky to work with ObjectContext. 199 more words


Entity Framework Architecture

  • EDM (Entity Data Model): EDM consists of three main parts – Conceptual model, Mapping and Storage model.
  • Conceptual Model: The conceptual model contains the model classes and their relationships.
  • 220 more words

What is O/RM?

ORM is a tool for storing data from domain objects to relational database like MS SQL Server, in an automated way, without much programming. O/RM includes three main parts: Domain class objects, Relational database objects and Mapping information on how domain objects map to relational database objects (tables, views & storedprocedures). 59 more words


Entity framework introduction

Writing and managing ADO.Net code for data access is a tedious and monotonous job. Microsoft has provided an O/RM framework called “Entity Framework” to automate database related activities for your application. 97 more words


Why EF5 Not Saving Decimal Precision Correctly

Let say you have a table in database with datatype decimal(18,3) which is most common datatype to store decimal values in SQL Server. You can easily change the precision(total char length of attribute ) and scale(number of char after decimal point) by going into design. 181 more words