C# Class VSTalk.Engine.Core.ContactInfo.ContactInfoDA

Inheritance: IDataAccess
Afficher le fichier Open project: Irdis/VSTalk

Méthodes publiques

Méthode Description
AddRecord ( string jid, string hash, string fullname, long ticks, string url, string description, string photoType, byte photoBin ) : void
GetLatest ( string jid ) : Tuple
HasPhoto ( string jid, string hash ) : bool
Init ( Community.CsharpSqlite.SQLiteClient.SqliteConnection connection ) : void

Private Methods

Méthode Description
AddParam ( DbCommand cmd, string name, DbType type, object value ) : void

Method Details

AddRecord() public méthode

public AddRecord ( string jid, string hash, string fullname, long ticks, string url, string description, string photoType, byte photoBin ) : void
jid string
hash string
fullname string
ticks long
url string
description string
photoType string
photoBin byte
Résultat void

GetLatest() public méthode

public GetLatest ( string jid ) : Tuple
jid string
Résultat Tuple

HasPhoto() public méthode

public HasPhoto ( string jid, string hash ) : bool
jid string
hash string
Résultat bool

Init() public méthode

public Init ( Community.CsharpSqlite.SQLiteClient.SqliteConnection connection ) : void
connection Community.CsharpSqlite.SQLiteClient.SqliteConnection
Résultat void