This content has been marked as final. Show 1 reply
Sure. Create a new Class Library project. Create a class (or several classes, it doesn't matter) in that. In that class, create a method called Login()
In that method, you need to handle connecting to the database, running your query, and returning the data. You'd do this exactly the same way you normally would, except you'll be returning some kind of common data class and not Oracle specific objects or connections.
As to how you connect and run a query, there's lots of resources available for that in the documentation or Google.