Menu

#484 [OLEDB] return value of OleDbConnection.Database is empty

open
nobody
None
5
2013-04-24
2013-04-24
Jira Trac
No

* Brief:
** return value of OleDbConnection.Database is empty

* Test Code
{noformat}
[Test, Description(Check oledbConnection information.)]
public void ConnInfoTest()
{
String strDatabase=testdb;
String strConnection=Provider=CUBRIDProvider;Data Source=testdb;Location=127.0.0.1;User ID=dba;Password=xxx;Port= 33000
OleDbConnection connCubrid = new OleDbConnection(strConnection);
Assert.AreEqual(strDatabase, connCubrid.Database);
}
{noformat}

* Expect Result: testdb
* Actual Result: string.Empty

Discussion