C# Класс Tp.Integration.Plugin.Common.Storage.Persisters.ProfilePersister

Наследование: IProfilePersister
Показать файл Открыть проект

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

Метод Описание
Add ( ProfileName profileName, bool initialized, AccountName accountName ) : Profile
Delete ( ProfileName profileName, AccountName accountName ) : void
GetAll ( AccountName accountName ) : IEnumerable
ProfilePersister ( IDatabaseConfiguration configuration, IPluginMetadata pluginMetadata ) : System.Collections.Generic
Update ( ProfileName profileName, bool initialized, AccountName accountName ) : Profile

Приватные методы

Метод Описание
CreateDataContext ( ) : PluginDatabaseModelDataContext
SelectAccount ( IQueryable accounts, AccountName accountName ) : IQueryable
SelectProfile ( IQueryable accounts, ProfileName profileName, AccountName accountName ) : Profile

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

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

public Add ( ProfileName profileName, bool initialized, AccountName accountName ) : Profile
profileName Tp.Integration.Messages.ProfileName
initialized bool
accountName Tp.Integration.Messages.AccountName
Результат Profile

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

public Delete ( ProfileName profileName, AccountName accountName ) : void
profileName Tp.Integration.Messages.ProfileName
accountName Tp.Integration.Messages.AccountName
Результат void

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

public GetAll ( AccountName accountName ) : IEnumerable
accountName Tp.Integration.Messages.AccountName
Результат IEnumerable

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

public ProfilePersister ( IDatabaseConfiguration configuration, IPluginMetadata pluginMetadata ) : System.Collections.Generic
configuration IDatabaseConfiguration
pluginMetadata IPluginMetadata
Результат System.Collections.Generic

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

public Update ( ProfileName profileName, bool initialized, AccountName accountName ) : Profile
profileName Tp.Integration.Messages.ProfileName
initialized bool
accountName Tp.Integration.Messages.AccountName
Результат Profile