Home of samples.
In the Hooks sample application, we use the OnDeleteTransactor and PreCommitTransactor extension types to extend Starcounter.Database to support callbacks when database objects are manipulated.
See Program.cs to see how it looks, or run the sample to see it in action:
cd Hooks
dotnet run
The NestedTransactions sample shows how the NestedTransactor can be used to extend Starcounter.Database to support nested transactions, something not natively supported.
See Program.cs to see how it looks, or run the sample to see it in action:
cd NestedTransactions
dotnet run