C# Класс Microsoft.Research.DataOnboarding.DataAccessService.Providers.EntityFramework.RepositoryDetails

Implements repository details IRepositoryDetails leveraging entity framework
Наследование: RepositoryBase, IRepositoryDetails
Показать файл Открыть проект Примеры использования класса

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

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

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

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

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.
Результат Microsoft.Research.DataOnboarding.DomainModel.Repository

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

Method to delete the selected repository.
public DeleteRepository ( int repositoryId ) : Microsoft.Research.DataOnboarding.DomainModel.Repository
repositoryId int Repository id.
Результат Microsoft.Research.DataOnboarding.DomainModel.Repository

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

Method to delete repository metadata
public DeleteRepositoryMetaData ( int repositoryMetaDataId ) : Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadata
repositoryMetaDataId int repository MetaDataId
Результат Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadata

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

Method to delete repository meta data fields
public DeleteRepositoryMetaDataField ( int repositoryMetaDataField ) : Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadataField
repositoryMetaDataField int repositoryMetaData Field
Результат Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadataField

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

Method to get the base repository name for the specific
public GetBaseRepositoryName ( int baseRepositoryId ) : string
baseRepositoryId int
Результат string

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

Returns trhe MetadataTypes.
public GetMetadataTypes ( ) : IEnumerable
Результат IEnumerable

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

Method to get the repository by id.
public GetRepositoryById ( int repositoryId ) : Microsoft.Research.DataOnboarding.DomainModel.Repository
repositoryId int Repository id.
Результат Microsoft.Research.DataOnboarding.DomainModel.Repository

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

Method to get the repository by its name.
public GetRepositoryByName ( string repositoryName ) : Microsoft.Research.DataOnboarding.DomainModel.Repository
repositoryName string Repository name.
Результат Microsoft.Research.DataOnboarding.DomainModel.Repository

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

Initializes a new instance of the RepositoryDetails class.
public RepositoryDetails ( IUnitOfWork dataContext ) : System.Collections.Generic
dataContext IUnitOfWork Data context.
Результат System.Collections.Generic

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

Retrieve all the available repositories.
public RetrieveRepositories ( ) : IEnumerable
Результат IEnumerable

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

Retrieve all the available repository types.
public RetrieveRepositoryTypes ( ) : IEnumerable
Результат IEnumerable

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

public SaveRepositoryMetaData ( Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadata repositoryMetadata ) : Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadata
repositoryMetadata Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadata
Результат Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadata

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

public SaveRepositoryMetaDataField ( Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadataField repositoryMetadataField ) : Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadataField
repositoryMetadataField Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadataField
Результат Microsoft.Research.DataOnboarding.DomainModel.RepositoryMetadataField

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

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.
Результат Microsoft.Research.DataOnboarding.DomainModel.Repository