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)

3 results in tag: upsert

Using sql server compact edition to insert OR update (upsert).

I have c# project that is using sqlserver compact edition and entity framework for data access. I have the need to insert or update a large amount of rows, 5000+ or more to the db, so if the key exists update the record if not insert it. I can not find ...
c# entity-framework sql sql-server-ce upsert
asked by RBear

How can I use use Entity Framework to do a MERGE when I don't know if the record exists?

In ...this SO answer... about Entity Framework and MERGE, the example for how to code it is this:...public void SaveOrUpdate(MyEntity entity) { if (entity.Id == 0) { context.MyEntities.AddObject(entity); } else { context.MyEntities.Attac...
.net entity-framework entity-framework-6 upsert
asked by Joshua Frank

Entity Framework - UPSERT on unique indexes

I searched a bit regarding my problem but can't find anything that really to help....So my problem/dilema stays like this: I know that mysql database have a unique index system that can be used for insert/update in same query using this format: ...insert ...
c# entity-framework sql upsert
asked by HellBaby

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!