C# Class Google.SafeBrowsing.Model.SqlChunkRepository

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

Public Methods

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

public Delete ( string list, bool isBlacklist, IEnumerable chunkIds ) : void
list string
isBlacklist bool
chunkIds IEnumerable
return void

GetByKey() public method

public GetByKey ( int key, bool isHost, bool isBlacklist ) : IEnumerable
key int
isHost bool
isBlacklist bool
return IEnumerable

ListChunks() public method

public ListChunks ( string list, bool isBlackList ) : IEnumerable
list string
isBlackList bool
return IEnumerable

Save() public method

public Save ( IEnumerable Chunks ) : void
Chunks IEnumerable
return void

SqlChunkRepository() public method

public SqlChunkRepository ( string connectionString ) : System
connectionString string
return System