WrappedConnection constructor

namespace: Serenity.Data   assemblySerenity.Net.Services

Wraps a connection to add current transaction and dialect support.

public WrappedConnection(IDbConnection connection, ISqlDialect dialect, ILogger logger = null)
parameter description
connection The actual connection.
dialect The dialect.
logger Optional logger for this connection (generally to be used by static SqlHelper methods)

Remarks

Initializes a new instance of the WrappedConnection class.

See Also