You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Thanks for your great work here. I have a question to ask. Here is my test project hierarchy :
-Solution
--Test.DomainModel
-- Test.Repo
--Test.Api
In DomainModel class library just there are my entity models.
In Repo class library I added your nuget package and generated Repositories and unit of work.
In Api winApp I tried something like this code just for testing:
It fails to run, Needs for a connection string in my Api project! Which is already defined in Repo and DomainModel projects. When I copy the connection string from these projects to Api project app.config file, I get error for Needing entityframework and system.data.sqlClient dlls . Why is like this. When I'm using a repository, shouldn't it handle these things?! I wish not to include entityFramework to my Api project. By the way could you upload a sample project ?
The text was updated successfully, but these errors were encountered:
Hi,
Thanks for your great work here. I have a question to ask. Here is my test project hierarchy :
-Solution
--Test.DomainModel
-- Test.Repo
--Test.Api
In DomainModel class library just there are my entity models.
In Repo class library I added your nuget package and generated Repositories and unit of work.
In Api winApp I tried something like this code just for testing:
It fails to run, Needs for a connection string in my Api project! Which is already defined in Repo and DomainModel projects. When I copy the connection string from these projects to Api project app.config file, I get error for Needing entityframework and system.data.sqlClient dlls . Why is like this. When I'm using a repository, shouldn't it handle these things?! I wish not to include entityFramework to my Api project. By the way could you upload a sample project ?
The text was updated successfully, but these errors were encountered: