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)

61 results in tag: orm

NHibernate vs. ADO.NET Entity Framework

So the ADO.NET Entity Framework has gotten a little bit of bad press (in the form of blog entries and a petition) but I don't want to rush to judgement. I'm limited in time for experimentation but I was wondering has anyone worked with it yet with more em...
ado.net entity-framework nhibernate orm
asked by t3rse

In TPH, ADO EF stands for Errors Mapping Associations between Derived Types.

Background...I am writing a data access library using the ADO Entity Framework in Visual Studio 2008 SP1 using the .NET Framework 3.5 SP1. I am trying to create associations between two entities that are both derived from an abstract type. I am representi...
c# entity-framework orm
asked by Zach Burlingame

When converting a datetime2 data type to a datetime data type, an out-of-range value is returned.

I've got a datatable with 5 columns, where a row is being filled with data then saved to the database via a transaction....While saving, an error is returned:...The conversion of a datetime2 data type to a datetime data type resulted in an out-of-range va...
c# datetime entity-framework orm sql-server
asked by Gerbrand

How can many Entity Framework models be supported in the same solution?

I have begun developing an application using the Entity Framework....I have added a namespace to contain all of my user management code MyApp.Users for example, and this contains a model that has been marked internal to the namespace and only exposes func...
.net entity-framework orm
asked by RobD

NHibernate vs. Entity Framework 4

A lot has been talked about Entity Framework first version on the web (also on stackoverflow) and it is clear that it was not a good choice when we already have better alternative like NHibernate. But I can't find a good comparison of Entity Framework 4 a...
.net entity-framework nhibernate orm
asked by Deependra Solanky

Entity Framework vendors for different databases are shown below.

Which providers are there and your experience using them...I would like to know about all possible native .NET Framework Entity Framework providers that are out there as well as their limitations compared to the default ...LINQ2Entities... (from MS for MS...
.net database entity-framework orm provider
asked by Robert Koritnik

In Entity Framework, how do you get rid of a circular reference?

The circular reference between my Customer and Order entities caused a exception during serialization. Is there any way to force EF to generate one-direction reference between these two entities? Thanks in advance!
.net entity-framework orm
asked by Roy

What are the advantages of using ADO.NET Entity Framework?

I was reading this article about ...ADO.NET Entity Framework... and found it to be very interesting though in the first shot I could not decipher many things. I am reading the article again in order to fathom the real logic behind this....a) A question cr...
.net entity-framework orm
asked by priyanka.bangalore

In Entity Framework 4, how do I map a composite main key first?

I'm getting to grips with EF4 code first, and liking it so far. But I'm having trouble mapping an entity to a table with a composite primary key....The configuration I've tried looks like this:...public SubscriptionUserConfiguration() { ...
composite-key entity-framework orm
asked by jamesfm

Trying to choose between NHibernate and Entity Framework?

What are the main advantages and disadvantages of NHibernate and Entity Framework 4.0?...(While tagging my question, I've noticed more NHibernate tags than EF. Is NHibernate more popular?)
entity-framework nhibernate orm
asked by Sahat Yalkabov

LINQ to Entities query using Sum on child object attribute has a problem.

Given this query:...from s in services select new { s.Id, s.DateTime, Class = s.Class.Name, s.Location, s.Price, HeadCount = s.Reservations.Sum(r => r.PartySize), // problem here. r.PartySize is int s.MaxSeats } ...If the servi...
.net c# entity-framework linq orm
asked by Ronnie Overby

From the Entity Framework Model, generate SQL for a SQLite database.

Is it possible to generate a SQLite database from the model with entity framework? I created a SQLite connection and created a model, but when I click "Generate database from model" I get the following, which looks like MS SQL and makes errors if executed...
.net entity-framework orm sqlite sql-server
asked by codymanix

Entity framework is used to add methods to a model.

With entity framework, is it possible to add methods to an object class ? For example, i have a CLIENT mapping and i would like to create a "getAgeFromBirhDate" method.
.net c# entity-framework orm
asked by eka808

.NET Entity Framework ORM for PHP

I'm a .NET developer and new in PHP. I want to know, is there a ORM for PHP like the Entity Framework in the Microsoft .NET Framework? ...Are there any utility applications to make working with data faster and easier?
.net database entity-framework orm php
asked by Jalal

MongoDB and Entity Framework

Is it possible that Entity Framework supports MongoDb database? Maybe somebody will write a EF MongoDb Provider?
entity-framework mongodb orm
asked by Chance

What does EntityFramework's proxy mean?

I've used ...EntityFramework... as an ORM in my projects and I don't have any problem in using this technology. I heard EntityFramework creates a proxy. I want to know WHAT proxy this ORM creates? What it does? And, when EF creates it? In the other words,...
.net c# entity-framework orm proxy
asked by saber

The method Last is not recognized by LINQ To Entities. Really?

In this query:...public static IEnumerable<IServerOnlineCharacter> GetUpdated() { var context = DataContext.GetDataContext(); return context.ServerOnlineCharacters .OrderBy(p => p.ServerStatus.ServerDateTime) .GroupBy(p => p.RawNam...
c# entity-framework orm
asked by bevacqua

In Entity Framework, map a string column to an Enum.

Is there a way to map a string column to an enum in an Entity Model?...I have done this in Hibernate, but can't figure it out in EMF.
.net c# database entity-framework orm
asked by Sheldon Warkentin

Entity Framework is inefficient. What are my alternatives?

I have followed the "Don't Optimize Prematurely" mantra and coded up my WCF Service using Entity Framework....However, I profiled the performance and Entity Framework is too slow. (My app processes 2 messages in about 1.2 seconds, where the (legacy) app ...
.net entity-framework orm performance
asked by Vaccano

Can I use Entity Framework or Linq To SQL with Windows 8 Metro Style apps?

I'm looking for some kind of ORM that can be used with Metro Style apps. I found lots of posts referring to different SQLite implementations that seem to be working (or not, according to other posts) with Metro style apps, but no working sample projects s...
database entity-framework microsoft-metro orm windows-8
asked by Adrian Grigore

Page 1 of 4
  • 1
  • 2
  • 3
  • 4
  • »

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!