Created
July 26, 2019 10:07
-
-
Save ntakouris/f24025cca865c2a94f83f15dec165441 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| public class Post | |
| { | |
| [Key] | |
| public Guid Id { get; set; } | |
| public string Name { get; set; } | |
| public string UserId { get; set; } | |
| [ForeignKey(nameof(UserId))] | |
| public IdentityUser User { get; set; } | |
| public virtual List<PostTag> Tags { get; set; } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment