Click here to Skip to main content
15,886,806 members

Comments by Tausif Khan (Top 2 by date)

Tausif Khan 3-Aug-18 8:37am View    
Yeah we could do this this way, which we did. But i wanted to get it through a raw query. There will we scenarios were i'll be executing raw query later in project. Please if you can help me in executing the same by a raw query? It will be of a great help.
Tausif Khan 1-Aug-18 5:24am View    
@keviniano: Suppose i create another DBContext and entities to connect to my second database, then how do i maintain the connection string throughout the action. For eg: In my case it will be an employee logging in, so some of his information will be retrieved from one database n some from another. Now he tries to apply a leave again in which the record will be saved in the table of my second database. So how do i maintain the same connection string till he manages to log out of the application. Sorry for the long comment.