First time working with entity framework, I've been testing with an in memory database which has been working fine but wanted to start working on a persistent database using sqlite.
I've got the model and context created, when I run Add-Migration in the Package Manager Console it seems to work fine but when I then run the Update-Database function I always get a 'Object reference not set to an instance of an object' error but I can't work out why, any help really appreciated, been searching around for a while and can't see anything.
Screenshot of the reported error
I've got four model classes and the context class so not sure I can include all the code snippets here but happy to if folk think it's needed to get anywhere.
Thanks.