C# Class Tp.Integration.Plugin.Common.Storage.Persisters.ProfilePersister

Inheritance: IProfilePersister
Afficher le fichier Open project: TargetProcess/Target-Process-Plugins

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
CreateDataContext ( ) : PluginDatabaseModelDataContext
SelectAccount ( IQueryable accounts, AccountName accountName ) : IQueryable
SelectProfile ( IQueryable accounts, ProfileName profileName, AccountName accountName ) : Profile

Method Details

Add() public méthode

public Add ( ProfileName profileName, bool initialized, AccountName accountName ) : Profile
profileName Tp.Integration.Messages.ProfileName
initialized bool
accountName Tp.Integration.Messages.AccountName
Résultat Profile

Delete() public méthode

public Delete ( ProfileName profileName, AccountName accountName ) : void
profileName Tp.Integration.Messages.ProfileName
accountName Tp.Integration.Messages.AccountName
Résultat void

GetAll() public méthode

public GetAll ( AccountName accountName ) : IEnumerable
accountName Tp.Integration.Messages.AccountName
Résultat IEnumerable

ProfilePersister() public méthode

public ProfilePersister ( IDatabaseConfiguration configuration, IPluginMetadata pluginMetadata ) : System.Collections.Generic
configuration IDatabaseConfiguration
pluginMetadata IPluginMetadata
Résultat System.Collections.Generic

Update() public méthode

public Update ( ProfileName profileName, bool initialized, AccountName accountName ) : Profile
profileName Tp.Integration.Messages.ProfileName
initialized bool
accountName Tp.Integration.Messages.AccountName
Résultat Profile