ASP.Net solution with class Library, How to share with windows console application
I have an ASP.net web site. I created the code for Database interfacing in a class library and this is building into a DLL in the bin folder called Data_Base_Library.dll.
For example the database library has a function
public bool DBI_Open_DataBase()
The database calss is seen in my ASP.net web site with using DataBaseManagerClassLibrary;
Now my solution also has a windows console application and it also has to access the database.
How do I make the library code visible to the console application. i.e. what header would I use do I link to the dll?
All my code is in c#.
Thanks for any help in advance