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

Inheritance: IProfileStoragePersister
Show file Open project: TargetProcess/Target-Process-Plugins Class Usage Examples

Public Methods

Method Description
Contains ( ProfileId profileId, Tp.Core.TypeNameWithoutVersion key, object item ) : bool
Contains ( StorageName storageName, ProfileId profileId, Tp.Core.TypeNameWithoutVersion key, object item ) : bool
Delete ( ) : void
Delete ( ProfileId profileId, Tp.Core.TypeNameWithoutVersion key ) : void
FindBy ( ProfileId profileId ) : IEnumerable
FindBy ( ProfileId profileId, Tp.Core.TypeNameWithoutVersion key ) : IEnumerable
FindBy ( ProfileId profileId, Tp.Core.TypeNameWithoutVersion key, object item ) : ProfileStorage
FindBy ( StorageName storageName, ProfileId profileId, Tp.Core.TypeNameWithoutVersion key, object item ) : ProfileStorage
Insert ( ) : void
ProfileStorageSqlPersister ( IDatabaseConfiguration configuration ) : System
Update ( ) : void

Private Methods

Method Description
CreateContext ( ) : PluginDatabaseModelDataContext
Flush ( DataContext context ) : void

Method Details

Contains() public method

public Contains ( ProfileId profileId, Tp.Core.TypeNameWithoutVersion key, object item ) : bool
profileId ProfileId
key Tp.Core.TypeNameWithoutVersion
item object
return bool

Contains() public method

public Contains ( StorageName storageName, ProfileId profileId, Tp.Core.TypeNameWithoutVersion key, object item ) : bool
storageName StorageName
profileId ProfileId
key Tp.Core.TypeNameWithoutVersion
item object
return bool

Delete() public method

public Delete ( ) : void
return void

Delete() public method

public Delete ( ProfileId profileId, Tp.Core.TypeNameWithoutVersion key ) : void
profileId ProfileId
key Tp.Core.TypeNameWithoutVersion
return void

FindBy() public method

public FindBy ( ProfileId profileId ) : IEnumerable
profileId ProfileId
return IEnumerable

FindBy() public method

public FindBy ( ProfileId profileId, Tp.Core.TypeNameWithoutVersion key ) : IEnumerable
profileId ProfileId
key Tp.Core.TypeNameWithoutVersion
return IEnumerable

FindBy() public method

public FindBy ( ProfileId profileId, Tp.Core.TypeNameWithoutVersion key, object item ) : ProfileStorage
profileId ProfileId
key Tp.Core.TypeNameWithoutVersion
item object
return ProfileStorage

FindBy() public method

public FindBy ( StorageName storageName, ProfileId profileId, Tp.Core.TypeNameWithoutVersion key, object item ) : ProfileStorage
storageName StorageName
profileId ProfileId
key Tp.Core.TypeNameWithoutVersion
item object
return ProfileStorage

Insert() public method

public Insert ( ) : void
return void

ProfileStorageSqlPersister() public method

public ProfileStorageSqlPersister ( IDatabaseConfiguration configuration ) : System
configuration IDatabaseConfiguration
return System

Update() public method

public Update ( ) : void
return void