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

Entity Framework 6 - Knowledge Base (KB)

6940 results for:

Entity Framework vs LINQ to SQL

Now that .NET v3.5 SP1 has been released (along with VS2008 SP1), we now have access to the .NET entity framework....My question is this. When trying to decide between using the Entity Framework and LINQ to SQL as an ORM, what's the difference?...The way...
.net entity-framework linq-to-sql
asked by Chris Roberts

Expression.Invoke in Entity Framework?

The Entity Framework does not support the ...Expression.Invoke... operator. You receive the following exception when trying to use it:..."The LINQ expression node type 'Invoke' is not supported in LINQ to Entities....Has anyone got a workaround for this ...
.net entity-framework linq linq-to-entities
asked by Brad Leach

Update database schema in Entity Framework

I installed VS SP1 and played around with Entity Framework....I created a schema from an existing database and tried some basic operations....Most of it went well, except the database schema update....I changed the database in every basic way:...added a n...
.net entity-framework schema
asked by Biri

ADO.NET Entity Framework vs NHibernate

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

Performance of Linq to Entities vs ESQL

When using the Entity Framework, does ESQL perform better than Linq to Entities?...I'd prefer to use Linq to Entities (mainly because of the strong-type checking), but some of my other team members are citing performance as a reason to use ESQL. I would l...
entity-framework entity-sql linq-to-entities
asked by Brad Leach

ADO.NET Entity Framework tutorials

Does anyone know of any good tutorials on ADO.NET Entity Framework?...There are a few useful links here at ...Stack OverFlow..., and I've found one tutorial at ...Jason's DotNet Architecture Blog..., but can anyone recommend any other good tutorials? Any...
ado.net entity-framework
asked by Yngvar Johnsen

Using MySQL with Entity Framework

Can't find anything relevant about Entity Framework/MySQL on Google so I'm hoping someone knows about it.
.net ado.net entity-framework mysql
asked by vintana

Can you use Microsoft Entity Framework with Oracle?

Is it possible to use Microsoft Entity Framework with Oracle database?
.net entity-framework odp.net oracle
asked by Xerx

LINQ to entities - Building where clauses to test collections within a many to many relationship

So, I am using the Linq entity framework. I have 2 entities: ...Content... and ...Tag.... They are in a many-to-many relationship with one another. ...Content... can have many ...Tags... and ...Tag... can have many ...Contents.... So I am trying to write ...
c# entity-framework lambda linq many-to-many
asked by Phobis

ADO.NET Entity Framework and identity columns

Is the Entity Framework aware of identity columns? ...I am using SQL Server 2005 Express Edition and have several tables where the primary key is an identity column. when I use these tables to create an entity model and use the model in conjunction with a...
.net entity-framework identity sql-server
asked by matthew thomas

How to relate objects from multiple contexts using the Entity Framework

I am ...very... new to the entity framework, so please bear with me......How can I relate two objects from different contexts together?...The example below throws the following exception:...System.InvalidOperationException: The relationship between the ...
.net c# entity-framework
asked by Giovanni Galbo

What are the alternatives to using Expand in a LINQ to ADO.net Data Service Query?

I am wondering if there are any alternatives to using the Expand key word when performing an LINQ to ADO.net Data Services query. The expand method does get me the data I am interested in, but it requires me to know all of the sub-objects that I am going...
entity-framework lazy-loading linq wcf-data-services
asked by ChrisHDog

Get the name of a class as a string in C#

Is there a way to take a class name and convert it to a string in C#? ...As part of the Entity Framework, the .Include method takes in a dot-delimited list of strings to join on when performing a query. I have the class model of what I want to join, and f...
c# entity-framework
asked by Jared

Entity Framework Validation

I'm getting ready to start a new project and I've been researching the entity framework. My question is what is the best strategy for validating the entities? Other projects I've worked on have used attributes for most of the validation, but obviously thi...
.net c# entity-framework validation
asked by Micah

How to create foreign key relationships with the Entity Framework?

I want to create a new row in my database on a table that has a couple of foreign key relationships and I haven't been able to get a handle on what order and what calls need to be made. This is what I have so far:...db.Models.Order order = DB.Models.Order...
asp.net-mvc entity-framework foreign-key-relationship
asked by Jared

Unable to save Entity Framework Inherited types

I have implemented some table-per-type inheritance in my data model (basically have a ...BaseEntity... type with all the base information for my items and a ...Employer... type that inherits from the ...BaseEntity... item). Everything appears to be set u...
.net entity-framework inheritance savechanges table-per-type
asked by ChrisHDog

Using Entity Framework entities as business objects?

I'm using Entity Framework O/R mapper from Microsoft and using entity classes (generated classes that are mapped to DB objects) as a business objects. Is this OK? Please state your cons or pros. What to do in a case of WCF communication between business ...
.net architecture entity-framework
asked by Aleksandar

How do I build a Linq Expression Tree that compares against a generic object?

I have an IQueryable and an object of type T....I want to do IQueryable().Where(o => o.GetProperty(fieldName) == objectOfTypeT.GetProperty(fieldName))...so ......public IQueryable<T> DoWork<T>(string fieldName) where T : EntityObject { ... T...
c# entity-framework expression-trees generics linq
asked by JTew

Linq To Sql vs Entity Framework Performance

I have been searching for recent performance benchmarks that compare L2S and EF and couldnt find any that tested calling stored procedures using the released version of EF. So, I ran some of my own tests and found some interesting results....Do these resu...
entity-framework linq-to-sql performance stored-procedures
asked by Vyrotek

How do I use a WPF TreeView HierarchicalDataTemplate with LINQ to Entities?

I've got a Page class in my .edmx ADO.NET Entity Data Model file with with Parent and Children properties. It's for a hierarchy of Pages....removed dead ImageShack link - ADO.NET Entity Framework Hierarchical Page Class...This is handled in my SQL databa...
data-binding entity-framework linq wpf xaml
asked by Zack Peterson

Page 1 of 347
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • …
  • »
  • »»

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