C# Class Google.SafeBrowsing.Model.SqlChunkRepository

Default Chunk Repository implementation using ADO.NET for MS SQL
Inheritance: IChunkRepository
Afficher le fichier Open project: OndrejStastny/Google-Safe-Browsing-API-2.0-C- Class Usage Examples

Méthodes publiques

Méthode Description
Delete ( string list, bool isBlacklist, IEnumerable chunkIds ) : void
GetByKey ( int key, bool isHost, bool isBlacklist ) : IEnumerable
ListChunks ( string list, bool isBlackList ) : IEnumerable
Save ( IEnumerable Chunks ) : void
SqlChunkRepository ( string connectionString ) : System

Method Details

Delete() public méthode

public Delete ( string list, bool isBlacklist, IEnumerable chunkIds ) : void
list string
isBlacklist bool
chunkIds IEnumerable
Résultat void

GetByKey() public méthode

public GetByKey ( int key, bool isHost, bool isBlacklist ) : IEnumerable
key int
isHost bool
isBlacklist bool
Résultat IEnumerable

ListChunks() public méthode

public ListChunks ( string list, bool isBlackList ) : IEnumerable
list string
isBlackList bool
Résultat IEnumerable

Save() public méthode

public Save ( IEnumerable Chunks ) : void
Chunks IEnumerable
Résultat void

SqlChunkRepository() public méthode

public SqlChunkRepository ( string connectionString ) : System
connectionString string
Résultat System