Метод | Описание | |
---|---|---|
AddFile ( Microsoft.Research.DataOnboarding.DomainModel.File newFile ) : Microsoft.Research.DataOnboarding.DomainModel.File |
Method to add file information to database
|
|
DeleteFile ( int fileId, string status, bool isFileData = false, bool isHardDelete = true ) : bool |
Method to delete the file metadata fields data for the mentioned file id.
|
|
FileRepository ( IUnitOfWork dataContext ) : Microsoft.Research.DataOnboarding.DomainModel |
Initializes a new instance of the FileRepository class.
|
|
GetFiles ( bool>.Func |
Method to get all the available files for the specified user.
|
|
GetFilesByRepository ( int repositoryId ) : IEnumerable |
Method to get all the files for the mentioned repository.
|
|
GetItem ( int userId, int fileId ) : Microsoft.Research.DataOnboarding.DomainModel.File |
Method to get file item based on the user id and file id
|
|
GetItem ( int userId, string fileName ) : Microsoft.Research.DataOnboarding.DomainModel.File |
Method to get file item based on the user id and filename
|
|
GetItem ( string nameIdentifier, int fileId ) : Microsoft.Research.DataOnboarding.DomainModel.File |
Method to get file by name identifier and file id.
|
|
RetrieveFileColumnTypes ( ) : List |
Method to Retrieve Column Types
|
|
RetrieveFileColumnUnits ( ) : List |
Method to Retrieve Column Units
|
|
RetrieveMetaDataTypes ( ) : List |
Method to get meta data types
|
Метод | Описание | |
---|---|---|
UpdateColumnLevelMetadata ( Microsoft.Research.DataOnboarding.DomainModel.File modifiedFile ) : void |
Method to update column level metadata.
|
|
UpdateFile ( Microsoft.Research.DataOnboarding.DomainModel.File modifiedFile ) : Microsoft.Research.DataOnboarding.DomainModel.File | ||
UpdateFileLevelMetadata ( Microsoft.Research.DataOnboarding.DomainModel.File modifiedFile ) : void |
Method to update file level metadata.
|
public AddFile ( Microsoft.Research.DataOnboarding.DomainModel.File newFile ) : Microsoft.Research.DataOnboarding.DomainModel.File | ||
newFile | Microsoft.Research.DataOnboarding.DomainModel.File | File object |
Результат | Microsoft.Research.DataOnboarding.DomainModel.File |
public DeleteFile ( int fileId, string status, bool isFileData = false, bool isHardDelete = true ) : bool | ||
fileId | int | File id. |
status | string | |
isFileData | bool | Deleting only file related data. |
isHardDelete | bool | |
Результат | bool |
public FileRepository ( IUnitOfWork dataContext ) : Microsoft.Research.DataOnboarding.DomainModel | ||
dataContext | IUnitOfWork | IUnitOfWork context |
Результат | Microsoft.Research.DataOnboarding.DomainModel |
public GetFiles ( bool>.Func |
||
predicate | bool>.Func | Function that is used to filter records |
Результат | IEnumerable |
public GetFilesByRepository ( int repositoryId ) : IEnumerable |
||
repositoryId | int | Repository id. |
Результат | IEnumerable |
public GetItem ( int userId, int fileId ) : Microsoft.Research.DataOnboarding.DomainModel.File | ||
userId | int | user Id |
fileId | int | file id |
Результат | Microsoft.Research.DataOnboarding.DomainModel.File |
public GetItem ( int userId, string fileName ) : Microsoft.Research.DataOnboarding.DomainModel.File | ||
userId | int | user Id |
fileName | string | file Name |
Результат | Microsoft.Research.DataOnboarding.DomainModel.File |
public GetItem ( string nameIdentifier, int fileId ) : Microsoft.Research.DataOnboarding.DomainModel.File | ||
nameIdentifier | string | Name Identifier |
fileId | int | file id |
Результат | Microsoft.Research.DataOnboarding.DomainModel.File |