C# Class AzureTicker.Worker.Model.Repositories.NotificationRepository

Inheritance: INotificationRepository, IDisposable
Datei anzeigen Open project: AppliedIS/AzureTicker Class Usage Examples

Public Methods

Method Description
AddOrUpdate ( Notification notification ) : string
Clear ( ) : void
Delete ( string rowKey ) : bool
Dispose ( ) : void
GetByRowKey ( string rowKey ) : Notification
GetNotificationsToSend ( ) : IEnumerable
GetNotificationsToUpdate ( ) : IEnumerable
List ( ) : IEnumerable
NotificationRepository ( ) : System
SaveChanges ( ) : void
Update ( Notification notification ) : void
UpdateBalance ( Notification notification, string newBalance ) : void

Method Details

AddOrUpdate() public method

public AddOrUpdate ( Notification notification ) : string
notification AzureTicker.Worker.Model.TableStorage.Notification
return string

Clear() public method

public Clear ( ) : void
return void

Delete() public method

public Delete ( string rowKey ) : bool
rowKey string
return bool

Dispose() public method

public Dispose ( ) : void
return void

GetByRowKey() public method

public GetByRowKey ( string rowKey ) : Notification
rowKey string
return AzureTicker.Worker.Model.TableStorage.Notification

GetNotificationsToSend() public method

public GetNotificationsToSend ( ) : IEnumerable
return IEnumerable

GetNotificationsToUpdate() public method

public GetNotificationsToUpdate ( ) : IEnumerable
return IEnumerable

List() public method

public List ( ) : IEnumerable
return IEnumerable

NotificationRepository() public method

public NotificationRepository ( ) : System
return System

SaveChanges() public method

public SaveChanges ( ) : void
return void

Update() public method

public Update ( Notification notification ) : void
notification AzureTicker.Worker.Model.TableStorage.Notification
return void

UpdateBalance() public method

public UpdateBalance ( Notification notification, string newBalance ) : void
notification AzureTicker.Worker.Model.TableStorage.Notification
newBalance string
return void