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)

4 results in tag: cascade

FOREIGN KEY constraint issue in Entity Framework first

I'm new to EF code first principal and currently with no clue what to do.. I have 2 POCO classes.....public class Problem { public int ProblemID { get; set; } public int UserID { get; set; } public int CategoryID { get; set; } public int R...
cascade ef-code-first entity-framework foreign-keys
asked by rjovic

How does WillCascadeOnDelete in Entity Framework work?

As I understand, if I delete a parent row, its children should be deleted if I turn on cascade on delete. However, from my testing, it doesn't seem to work at all. No matter if I set WillCascaseOnDelete to true or false, it simply sets the foreign key of ...
cascade entity-framework
asked by newman

Entity Framework DELETE statement conflicted with the REFERENCE constraint

I’m pretty new to EF and I have a little problem....I just want to delete an item in my database. I’m using SQL Server 2012 Express, VS2012, AdventureWorks 2012. ...The query that I execute is the following:...context = new AWEntities(); v...
cascade entity-framework foreign-keys
asked by user2675973

Disable Cascade Delete EF6

I'm trying to disable cascade delete using EF6 code-first....protected override void OnModelCreating(DbModelBuilder modelBuilder) { modelBuilder.Conventions.Remove<PluralizingTableNameConvention>(); modelBuilder.Conventions.Remove<OneToManyCascade...
cascade ef-code-first entity entity-framework-6
asked by Eugene Belov

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!