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)
Search
1 results for:
in tag: multiple-columns
Unique Key constraints for multiple columns in Entity Framework
I'm using Entity Framework 5.0 Code First;...public class Entity { [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)] public string EntityId { get; set;} public int FirstColumn { get; set;} public int SecondColumn { get; set;} } ..
constraints
ef-code-first
entity-framework
multiple-columns
unique-key
asked by
Bassam Alugili
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
Need Performance?
Save your entities 20× faster with EF Extensions
SaveChanges vs BulkSaveChanges