Exemplo n.º 1
0
        private string BuildConnectionString(OracleConnectionInfo info)
        {
            var cs = string.Format(
                "Data Source=(DESCRIPTION=" +
                "(ADDRESS=(PROTOCOL=TCP)(HOST={0})(PORT={1}))" +
                "(CONNECT_DATA=(SERVICE_NAME={2})));" +
                "User Id={3};Password={4};",
                info.ServerAddress,
                info.ServerPort,
                info.ServiceName,
                info.UserName,
                info.Password);

            return(cs);
        }
Exemplo n.º 2
0
 public OracleDataStore(OracleConnectionInfo info)
 {
     m_info = info;
 }