C# Class DotNetGroup.Services.Storage.StreamStorage

Inheritance: IStreamStorage
Show file Open project: sergejusb/DotNetGroup Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Get ( string id ) : Item
GetLatest ( ItemType type, System.DateTime fromDate, System.DateTime toDate, int limit ) : IEnumerable
GetLatest ( int limit ) : IEnumerable
GetNewer ( Item item, int limit ) : IEnumerable
GetOlder ( Item item, int limit ) : IEnumerable
Save ( IEnumerable items ) : void
StreamStorage ( string connectionString, string database ) : System
Top ( ) : Item

Method Details

Get() public method

public Get ( string id ) : Item
id string
return Item

GetLatest() public method

public GetLatest ( ItemType type, System.DateTime fromDate, System.DateTime toDate, int limit ) : IEnumerable
type ItemType
fromDate System.DateTime
toDate System.DateTime
limit int
return IEnumerable

GetLatest() public method

public GetLatest ( int limit ) : IEnumerable
limit int
return IEnumerable

GetNewer() public method

public GetNewer ( Item item, int limit ) : IEnumerable
item Item
limit int
return IEnumerable

GetOlder() public method

public GetOlder ( Item item, int limit ) : IEnumerable
item Item
limit int
return IEnumerable

Save() public method

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

StreamStorage() public method

public StreamStorage ( string connectionString, string database ) : System
connectionString string
database string
return System

Top() public method

public Top ( ) : Item
return Item