ralphtrent
Programmer
Hello
I have a dll that is my api to a database. To access the database, I have sql files as part of that project. I currently embedd each sql file into the dll. To read it, I need to create a stream of the file and read it. Each time I make a change to the sql files, I need to recompile the the dll.
The dll is access via multiple applications, (web/windows services). The dll gets executed from the windows directory so if I do not embed them I need a way to forcibly tell the dll where to get the sql files.
Does anyone have any suggestions? I could make a registry entry, but that is not ideal as that would need to be manually managed for each server and I may not have access to do that on all the servers.
Thanks,
RalphTrent
I have a dll that is my api to a database. To access the database, I have sql files as part of that project. I currently embedd each sql file into the dll. To read it, I need to create a stream of the file and read it. Each time I make a change to the sql files, I need to recompile the the dll.
The dll is access via multiple applications, (web/windows services). The dll gets executed from the windows directory so if I do not embed them I need a way to forcibly tell the dll where to get the sql files.
Does anyone have any suggestions? I could make a registry entry, but that is not ideal as that would need to be manually managed for each server and I may not have access to do that on all the servers.
Thanks,
RalphTrent