Cannot find new contexts after deletion

Discussion of open issues, suggestions and bugs regarding LinqConnect – Devart's LINQ to SQL compatible ORM
Post Reply
jcbjoe
Posts: 2
Joined: Wed 02 Jan 2019 12:25

Cannot find new contexts after deletion

Post by jcbjoe » Wed 02 Jan 2019 12:29

Hello,

I'm currently using LinqConnect MySQL on Asp Net Core. I am having a very strange issue where when I delete a context it just makes the entire linqconnect not work. As in I delete the context than when I remake it the namespace cannot be found the only way I have found around this so far is remaking the project which isn't really a solution.

Is there a proper way to delete contexts?

Thanks,
Joe

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Cannot find new contexts after deletion

Post by Shalex » Thu 03 Jan 2019 15:51

jcbjoe wrote: Wed 02 Jan 2019 12:29the namespace cannot be found the only way I have found around this so far is remaking the project which isn't really a solution
Please make sure that the Devart.Data.MySql.Linq package is added to your project. If not, open Tools > NuGet Package Manager > Package Manager Console and run:
PM> install-package devart.data.mysql.linq

Does this help? If not, send us a small test project for reproducing the issue.

Post Reply