C# Class Aspectacular.SqlUtils

Datei anzeigen Open project: vgribok/Aspectacular

Public Properties

Property Type Description
SqlConnectionAttributes NonEmptyString

Public Methods

Method Description
AttachSqlConnectionAttribs ( this sqlConn, Action optionalPostProcessingFunc = null ) : void

Adds SQL Server command attributes which improves query performance.

Method Details

AttachSqlConnectionAttribs() public static method

Adds SQL Server command attributes which improves query performance.
public static AttachSqlConnectionAttribs ( this sqlConn, Action optionalPostProcessingFunc = null ) : void
sqlConn this
optionalPostProcessingFunc Action
return void

Property Details

SqlConnectionAttributes public_oe static_oe property

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
return NonEmptyString