Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

ef core index attribute

[Index(nameof(Isbn))]public class Book{    public int BookId { get; set; }    public string Title { get; set; }    public string Isbn { get; set; }}
Source by www.learnentityframeworkcore.com #
 
PREVIOUS NEXT
Tagged: #ef #core #index #attribute
ADD COMMENT
Topic
Name
1+8 =