public File GetFileInfo(Guid fileId) { var prm = new DynamicParameters(); prm.Add("@FileId", fileId); return(_connectionWrapper.Query <File>("[FileStore].ReadFileHead", prm, commandTimeout: _commandTimeout, commandType: CommandType.StoredProcedure).FirstOrDefault()); }
public List <ApplicationSetting> GetLicenseInfo() { return(_connectionWrapper.Query <ApplicationSetting>("GetLicenseInfo", commandType: CommandType.StoredProcedure).ToList()); }