.net - Oracle connection string without tnsnames.ora file -


I am experimenting with .NET Framework System.Data.OracleClient Namespace. Oracle 11 client is installed on my computer. I do not want to use the tnsnames.ora file to store connection information.

Can anyone tell me what the connection string would look like if I did not want to use the tnsnames.ora file? I have a web application project's web I am storing the connection string in the config file.

This is a great resource

server = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = MyHost) (PORT = MyPort)) (CONNECT_DATA = (SERVICE_NAME = MyOracleSID))); Uid = myUsername; Pwd = myPassword;

I believe you want ...


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -