C# 클래스 Microsoft.Research.DataOnboarding.DataAccessService.Providers.EntityFramework.RepositoryDetails

Implements repository details IRepositoryDetails leveraging entity framework
상속: RepositoryBase, IRepositoryDetails
파일 보기 프로젝트 열기: CDLUC3/dataup2 1 사용 예제들

공개 메소드들

메소드 설명
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