Created
September 4, 2019 06:08
-
-
Save wullemsb/f0af3501cbfdfa05b32823b5fc672219 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected override void OnModelCreating(ModelBuilder modelBuilder) | |
{ | |
modelBuilder | |
.Query<BlogDTO>().ToView("vwBlogs"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment