Код: Выделить всё
var result = CreateSQLQuery($@"select [{ColumnName}].PathName(), GET_FILESTREAM_TRANSACTION_CONTEXT() as context
from [{TableName}]
where Id = :id")
.SetParameter("id", entity.Id)
.UniqueResult();
return new SqlFileStream((string) result[0], (byte[]) result[1], fileAccess);
Подробнее здесь: https://stackoverflow.com/questions/798 ... e-on-linux
Мобильная версия