예제 #1
0
        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());
        }
예제 #2
0
 public List <ApplicationSetting> GetLicenseInfo()
 {
     return(_connectionWrapper.Query <ApplicationSetting>("GetLicenseInfo", commandType: CommandType.StoredProcedure).ToList());
 }