SyntaxFix
Write A Post
Hire A Developer
Questions
try this :
public class FileStore { [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public Guid Id { get; set; } public string Name { get; set; } public string Path { get; set; } }
You can check this SO post.