Exemplo n.º 1
0
 public JQGridServer(IDataBaseServer dataBaseServer)
 {
     this._dataBaseServer = dataBaseServer;
 }
 /// <summary>
 /// 构造方法
 /// </summary>
 /// <param name="service"></param>
 public DataBaseManagerController(IDataBaseServer service)
 {
     _server = service;
 }
Exemplo n.º 3
0
 /// <summary>
 /// ServerModel constctor. create with server data base.
 /// </summary>
 /// <param name="dataBaseServer"> data base</param>
 public ServerModel(IDataBaseServer dataBaseServer)
 {
     this.dataBaseServer = dataBaseServer;
 }
Exemplo n.º 4
0
 internal DBServer()
 {
     this._dataBaseServer = new MSSQLDataBaseServer();
     this._dataBaseServer.ConnectString = ConfigurationManager.ConnectionStrings[_connectStringName].ConnectionString;
     DataBaseServer = _dataBaseServer;
 }