Class SqlHookOrders
The hook orders ProtoTest.Sql composes its setup from. Setup hooks run in ascending order, so
the connection hook runs first and the Entity Framework Core enlistment hook after it; the numbers
live here rather than in each hook so the coupling is stated once.
public static class SqlHookOrders
- Inheritance
-
SqlHookOrders
- Inherited Members
Fields
Connection
The connection hook, which opens the connection and starts the test's transaction.
public const int Connection = -1000
Field Value
Enlistment
The Entity Framework Core enlistment hook, which needs the open connection and its transaction.
public const int Enlistment = -999