private isDatasetCheckedOutFor ( System.Int64 datasetId, string username ) : bool | ||
datasetId | System.Int64 | |
username | string | |
Результат | bool |
private bool isDatasetCheckedOutFor(Int64 datasetId, string username)
{
return (DatasetRepo.Query(p => p.Status == DatasetStatus.CheckedOut && p.Id == datasetId && p.CheckOutUser == getUserIdentifier(username)).Count() == 1);
}