C# Class Microsoft.Research.DataOnboarding.DataAccessService.Providers.EntityFramework.RepositoryDetails

Implements repository details IRepositoryDetails leveraging entity framework
Inheritance: RepositoryBase, IRepositoryDetails
Afficher le fichier Open project: CDLUC3/dataup2 Class Usage Examples

Méthodes publiques

Méthode Description
AddRepository ( Microsoft.Research.DataOnboarding.DomainModel.Repository repository ) : Microsoft.Research.DataOnboarding.DomainModel.Repository

Method to add new repository record.

DeleteRepository ( int repositoryId ) : Microsoft.Research.DataOnboarding.DomainModel.Repository

Method to delete the selected repository.

DeleteRepositoryMetaData ( int repositoryMetaDataId ) : Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadata

Method to delete repository metadata

DeleteRepositoryMetaDataField ( int repositoryMetaDataField ) : Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadataField

Method to delete repository meta data fields

GetBaseRepositoryName ( int baseRepositoryId ) : string

Method to get the base repository name for the specific

GetMetadataTypes ( ) : IEnumerable

Returns trhe MetadataTypes.

GetRepositoryById ( int repositoryId ) : Microsoft.Research.DataOnboarding.DomainModel.Repository

Method to get the repository by id.

GetRepositoryByName ( string repositoryName ) : Microsoft.Research.DataOnboarding.DomainModel.Repository

Method to get the repository by its name.

RepositoryDetails ( IUnitOfWork dataContext ) : System.Collections.Generic

Initializes a new instance of the RepositoryDetails class.

RetrieveRepositories ( ) : IEnumerable

Retrieve all the available repositories.

RetrieveRepositoryTypes ( ) : IEnumerable

Retrieve all the available repository types.

SaveRepositoryMetaData ( Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadata repositoryMetadata ) : Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadata
SaveRepositoryMetaDataField ( Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadataField repositoryMetadataField ) : Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadataField
UpdateRepository ( Microsoft.Research.DataOnboarding.DomainModel.Repository repository ) : Microsoft.Research.DataOnboarding.DomainModel.Repository

Method to update the repository.

Method Details

AddRepository() public méthode

Method to add new repository record.
When repository is null
public AddRepository ( Microsoft.Research.DataOnboarding.DomainModel.Repository repository ) : Microsoft.Research.DataOnboarding.DomainModel.Repository
repository Microsoft.Research.DataOnboarding.DomainModel.Repository Repository details.
Résultat Microsoft.Research.DataOnboarding.DomainModel.Repository

DeleteRepository() public méthode

Method to delete the selected repository.
public DeleteRepository ( int repositoryId ) : Microsoft.Research.DataOnboarding.DomainModel.Repository
repositoryId int Repository id.
Résultat Microsoft.Research.DataOnboarding.DomainModel.Repository

DeleteRepositoryMetaData() public méthode

Method to delete repository metadata
public DeleteRepositoryMetaData ( int repositoryMetaDataId ) : Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadata
repositoryMetaDataId int repository MetaDataId
Résultat Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadata

DeleteRepositoryMetaDataField() public méthode

Method to delete repository meta data fields
public DeleteRepositoryMetaDataField ( int repositoryMetaDataField ) : Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadataField
repositoryMetaDataField int repositoryMetaData Field
Résultat Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadataField

GetBaseRepositoryName() public méthode

Method to get the base repository name for the specific
public GetBaseRepositoryName ( int baseRepositoryId ) : string
baseRepositoryId int
Résultat string

GetMetadataTypes() public méthode

Returns trhe MetadataTypes.
public GetMetadataTypes ( ) : IEnumerable
Résultat IEnumerable

GetRepositoryById() public méthode

Method to get the repository by id.
public GetRepositoryById ( int repositoryId ) : Microsoft.Research.DataOnboarding.DomainModel.Repository
repositoryId int Repository id.
Résultat Microsoft.Research.DataOnboarding.DomainModel.Repository

GetRepositoryByName() public méthode

Method to get the repository by its name.
public GetRepositoryByName ( string repositoryName ) : Microsoft.Research.DataOnboarding.DomainModel.Repository
repositoryName string Repository name.
Résultat Microsoft.Research.DataOnboarding.DomainModel.Repository

RepositoryDetails() public méthode

Initializes a new instance of the RepositoryDetails class.
public RepositoryDetails ( IUnitOfWork dataContext ) : System.Collections.Generic
dataContext IUnitOfWork Data context.
Résultat System.Collections.Generic

RetrieveRepositories() public méthode

Retrieve all the available repositories.
public RetrieveRepositories ( ) : IEnumerable
Résultat IEnumerable

RetrieveRepositoryTypes() public méthode

Retrieve all the available repository types.
public RetrieveRepositoryTypes ( ) : IEnumerable
Résultat IEnumerable

SaveRepositoryMetaData() public méthode

public SaveRepositoryMetaData ( Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadata repositoryMetadata ) : Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadata
repositoryMetadata Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadata
Résultat Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadata

SaveRepositoryMetaDataField() public méthode

public SaveRepositoryMetaDataField ( Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadataField repositoryMetadataField ) : Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadataField
repositoryMetadataField Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadataField
Résultat Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadataField

UpdateRepository() public méthode

Method to update the repository.
When repository is null
public UpdateRepository ( Microsoft.Research.DataOnboarding.DomainModel.Repository repository ) : Microsoft.Research.DataOnboarding.DomainModel.Repository
repository Microsoft.Research.DataOnboarding.DomainModel.Repository Repository details.
Résultat Microsoft.Research.DataOnboarding.DomainModel.Repository