C# Класс AzureTicker.Worker.Model.Repositories.NotificationRepository

Наследование: INotificationRepository, IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

AddOrUpdate() публичный Метод

public AddOrUpdate ( Notification notification ) : string
notification AzureTicker.Worker.Model.TableStorage.Notification
Результат string

Clear() публичный Метод

public Clear ( ) : void
Результат void

Delete() публичный Метод

public Delete ( string rowKey ) : bool
rowKey string
Результат bool

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

GetByRowKey() публичный Метод

public GetByRowKey ( string rowKey ) : Notification
rowKey string
Результат AzureTicker.Worker.Model.TableStorage.Notification

GetNotificationsToSend() публичный Метод

public GetNotificationsToSend ( ) : IEnumerable
Результат IEnumerable

GetNotificationsToUpdate() публичный Метод

public GetNotificationsToUpdate ( ) : IEnumerable
Результат IEnumerable

List() публичный Метод

public List ( ) : IEnumerable
Результат IEnumerable

NotificationRepository() публичный Метод

public NotificationRepository ( ) : System
Результат System

SaveChanges() публичный Метод

public SaveChanges ( ) : void
Результат void

Update() публичный Метод

public Update ( Notification notification ) : void
notification AzureTicker.Worker.Model.TableStorage.Notification
Результат void

UpdateBalance() публичный Метод

public UpdateBalance ( Notification notification, string newBalance ) : void
notification AzureTicker.Worker.Model.TableStorage.Notification
newBalance string
Результат void