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...
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...
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...
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...
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...
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...
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!
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...
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()
{
...
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?)
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...
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...
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.
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?
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,...
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 ...
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...