示例#1
0
 public void TestWindART_SQLConnection()
 {
     _dataOrderFactory = new DataOrderFactory(DataSourceType.WindART_SQL);
     _dataorder        = _dataOrderFactory.getDataOrder();
     Assert.IsInstanceOf <SQL2005DataOrder>(_dataorder);
 }
示例#2
0
 public void TestConnection()
 {
     _dataOrderFactory = new DataOrderFactory(@"10.96.3.138", DataSourceType.OSIPI);
     _dataorder        = _dataOrderFactory.getDataOrder();
     Assert.IsInstanceOf <PiDBDataOrder>(_dataorder);
 }