Sharing database connection/access between projects/assemblies


G

Guest

Hi,

I have a solution that contains 2 projects. Each of these projects access
the same database. I was wondering if it is possible to define a database
class and connection in one project and share them with the other?

Thanks In Advance
Macca
 
Ad

Advertisements

J

Jianwei Sun

I think it's OK.

I think the better approach is to define the database class into a
utility project and then share it in other projectes.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top