C# Class AppActs.API.DataMapper.DeviceMapper

Inheritance: NoSqlBase, IDeviceMapper
Afficher le fichier Open project: Appacts/mobile-analytics-server Class Usage Examples

Méthodes publiques

Méthode Description
DeviceMapper ( MongoClient client, string databaseName ) : System
Find ( System.Guid id ) : DeviceInfo
Save ( DeviceInfo device ) : void
Save ( DeviceLocation location ) : void
Save ( DeviceSummary entity ) : void
Save ( DeviceUpgradeSummary entity ) : void

Method Details

DeviceMapper() public méthode

public DeviceMapper ( MongoClient client, string databaseName ) : System
client MongoDB.Driver.MongoClient
databaseName string
Résultat System

Find() public méthode

public Find ( System.Guid id ) : DeviceInfo
id System.Guid
Résultat AppActs.API.Model.Device.DeviceInfo

Save() public méthode

public Save ( DeviceInfo device ) : void
device AppActs.API.Model.Device.DeviceInfo
Résultat void

Save() public méthode

public Save ( DeviceLocation location ) : void
location AppActs.API.Model.Device.DeviceLocation
Résultat void

Save() public méthode

public Save ( DeviceSummary entity ) : void
entity AppActs.API.Model.Device.DeviceSummary
Résultat void

Save() public méthode

public Save ( DeviceUpgradeSummary entity ) : void
entity AppActs.API.Model.Device.DeviceUpgradeSummary
Résultat void