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

Entity Framework Core - Knowledge Base (KB)

2 results in tag: constraints

Entity Framework Primary/Foreign constraint name

Is there any way to rename a primary/foreign key constraint name through either data annotations or fluent API?...I'm not talking about the property/column name. The constraint name. I did some search and didn't find any solutions yet. ...Please help!
constraints ef-code-first ef-migrations entity-framework entity-framework-6
asked by renjith

DbUpdateException when adding item to Entity Framework Context

I have the following two classes:...public class Record { public int RecordId { get; set; } public DateTime? InsertDate { get; set; } = DateTime.Now; public DateTime BookingDate { get; set; } public string AmountTypeName { get; set; } ...
c# constraints entity-framework entity-framework-6
asked by ck84vi

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
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!