C# Class AppActs.API.DataMapper.DeviceMapper

Inheritance: NoSqlBase, IDeviceMapper
ファイルを表示 Open project: Appacts/mobile-analytics-server Class Usage Examples

Public Methods

Method 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 method

public DeviceMapper ( MongoClient client, string databaseName ) : System
client MongoDB.Driver.MongoClient
databaseName string
return System

Find() public method

public Find ( System.Guid id ) : DeviceInfo
id System.Guid
return AppActs.API.Model.Device.DeviceInfo

Save() public method

public Save ( DeviceInfo device ) : void
device AppActs.API.Model.Device.DeviceInfo
return void

Save() public method

public Save ( DeviceLocation location ) : void
location AppActs.API.Model.Device.DeviceLocation
return void

Save() public method

public Save ( DeviceSummary entity ) : void
entity AppActs.API.Model.Device.DeviceSummary
return void

Save() public method

public Save ( DeviceUpgradeSummary entity ) : void
entity AppActs.API.Model.Device.DeviceUpgradeSummary
return void