C# Класс Aspectacular.SqlUtils

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
SqlConnectionAttributes NonEmptyString

Открытые методы

Метод Описание
AttachSqlConnectionAttribs ( this sqlConn, Action optionalPostProcessingFunc = null ) : void

Adds SQL Server command attributes which improves query performance.

Описание методов

AttachSqlConnectionAttribs() публичный статический Метод

Adds SQL Server command attributes which improves query performance.
public static AttachSqlConnectionAttribs ( this sqlConn, Action optionalPostProcessingFunc = null ) : void
sqlConn this
optionalPostProcessingFunc Action
Результат void

Описание свойств

SqlConnectionAttributes публичное статическое свойство

SQL commands injected before queries to improve query performance. To avoid using them, just set the value of SqlConnectionAttributes = null; Feel free to specify any commands you wish - they will be executed every time SQL Server connection is opened by EF AOP Proxies.
public static NonEmptyString SqlConnectionAttributes
Результат NonEmptyString