C# 클래스 Automobile.Registrar.SQLiteClient

상속: IMobileDb
파일 보기 프로젝트 열기: vistaprint/automobile

공개 메소드들

메소드 설명
Dispose ( ) : void

Closes the shared connection if one exists

GetFirstMatch ( DeviceInfo device ) : DeviceInfo
GetFirstMatch ( DeviceInfo device, bool filterByAvailible ) : DeviceInfo

Returns the IP of the first registered device which matches all the info. Null values are ignored in the match

Register ( DeviceInfo info ) : void
SQLiteClient ( string dbName ) : System

Creates tables, if needed.

SQLiteClient ( string dbName, bool shared ) : System

Creates tables, if needed. Optionally creates a shared connection (for in-memory or temporary file db).

SetAvailibility ( DeviceInfo device, bool availible ) : void

메소드 상세

Dispose() 공개 메소드

Closes the shared connection if one exists
public Dispose ( ) : void
리턴 void

GetFirstMatch() 공개 메소드

public GetFirstMatch ( DeviceInfo device ) : DeviceInfo
device Automobile.Mobile.Framework.Data.DeviceInfo
리턴 Automobile.Mobile.Framework.Data.DeviceInfo

GetFirstMatch() 공개 메소드

Returns the IP of the first registered device which matches all the info. Null values are ignored in the match
public GetFirstMatch ( DeviceInfo device, bool filterByAvailible ) : DeviceInfo
device Automobile.Mobile.Framework.Data.DeviceInfo
filterByAvailible bool
리턴 Automobile.Mobile.Framework.Data.DeviceInfo

Register() 공개 메소드

public Register ( DeviceInfo info ) : void
info Automobile.Mobile.Framework.Data.DeviceInfo
리턴 void

SQLiteClient() 공개 메소드

Creates tables, if needed.
public SQLiteClient ( string dbName ) : System
dbName string Name of the file to use
리턴 System

SQLiteClient() 공개 메소드

Creates tables, if needed. Optionally creates a shared connection (for in-memory or temporary file db).
public SQLiteClient ( string dbName, bool shared ) : System
dbName string Name of the file to use, or :memory: for in memory db
shared bool To share a connection object between all calls to this class
리턴 System

SetAvailibility() 공개 메소드

public SetAvailibility ( DeviceInfo device, bool availible ) : void
device Automobile.Mobile.Framework.Data.DeviceInfo
availible bool
리턴 void