cyan_live
Solution to mixing SQL queries with entity framework entities
Not possible, too much work. I want to try to build something so future queries have to be written on the new data layer project which can be reused on the old and the new application.
37 replies
Solution to mixing SQL queries with entity framework entities
I want to reuse the database as a separate project (DLL) because we are rebuilding the old VB.NET application as a new project while we need to maintain support for the old application.
37 replies
DLL Unable to load file or assembly [Answered]
Try adding reference System.Runtime to the project or nuget: https://www.nuget.org/packages/System.Runtime/
21 replies
namespace missing imports after copying class [Answered]
I added a namespace to every class using resharper tool and moved every class inside a new folder, now I get errors in classes that they can't find the external static functions that are being called. So I try to Import the namespace of the missing class reference, now I get ambiguous errors because some classes have a functions with the same name. To fix this I have to write out every function call to the namespace of the class. So App.ClassName.FunctionName().
This if I know which class to reference, sometimes I am clueless which function of which class is meant to be called so I end up searching in the old project to see which class to reference to make the function work.
Now I have to repeat this a few hundred times because this is a large code base.
It's too much work, is there a easier way to move classes out of App_Code without them losing their references
13 replies