Beispiel #1
0
 public DeviceService(string docdburi, string docdbkey, string database, string collection, string iothubconnstr,
                      string iothubhostname)
 {
     _iothubhostname       = iothubhostname;
     this._registryManager = RegistryManager.CreateFromConnectionString(iothubconnstr);
     this._serviceClient   = ServiceClient.CreateFromConnectionString(iothubconnstr);
     this._dbase           = new Dbase(docdburi, docdbkey);
     this._dbase.Connect(database, collection);
 }
Beispiel #2
0
 public SimulationService(string docdburi, string docdbkey, string database, string collection)
 {
     _dbase = new Dbase(docdburi, docdbkey);
     _dbase.Connect(database, collection);
 }
Beispiel #3
0
 public ApplicationServicePrivate(string docdburi, string docdbkey, string database, string collection)
 {
     this._dbase = new Dbase(docdburi, docdbkey);
     this._dbase.Connect(database, collection);
 }
Beispiel #4
0
 public clsRackMaster(IDbase dbase)
 {
     caObjects = new clsAccessDBObjects(dbase);
 }
Beispiel #5
0
 public ReferenceServicePublic(string docdburi, string docdbkey, string database, string collection)
 {
     _dbase = new Dbase(docdburi, docdbkey);
     _dbase.Connect(database, collection);
 }
Beispiel #6
0
        //private ICache _cache;

        public Persist(IDbase dbase, ICache cache)
        {
            this._dbase = dbase;
            //this._cache = cache;
        }
Beispiel #7
0
 public clsAccessDBObjects(IDbase dbase)
 {
     _dbase = dbase;
 }
Beispiel #8
0
 public ProvisionM(string docdburi, string docdbkey, string iothubconnstr)
 {
     this._registryManager = RegistryManager.CreateFromConnectionString(iothubconnstr);
     this._dbase           = new Dbase(docdburi, docdbkey);
     this._dbase.Connect("Device", "Registry");
 }
Beispiel #9
0
 public clsRoles(IDbase dbase)
 {
     caObjects = new clsAccessDBObjects(dbase);
 }