From dbd7051cf67ed56eea551968735e6f5aa9b6be7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Buconji=C4=87?= Date: Wed, 28 Aug 2024 13:42:42 +0200 Subject: [PATCH] csharp orm-in-one-go readme BeginTransaction typo --- exercises/concept/orm-in-one-go/.docs/instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/concept/orm-in-one-go/.docs/instructions.md b/exercises/concept/orm-in-one-go/.docs/instructions.md index 109c691609..9218b929e2 100644 --- a/exercises/concept/orm-in-one-go/.docs/instructions.md +++ b/exercises/concept/orm-in-one-go/.docs/instructions.md @@ -7,7 +7,7 @@ Our ORM usage analysis shows that 95% of transactions are executed from within o The database has the following instance methods: - `Database.BeginTransaction()` starts a transaction on the database. -- `Database.Write(string data)` writes data to the database within the transaction. If it receives bad data an exception will be thrown. An attempt to call this method without `BeginTransction()` having been called will cause an exception to be thrown. If successful the internal state of the database will change to `DataWritten`. +- `Database.Write(string data)` writes data to the database within the transaction. If it receives bad data an exception will be thrown. An attempt to call this method without `BeginTransaction()` having been called will cause an exception to be thrown. If successful the internal state of the database will change to `DataWritten`. - `Database.EndTransaction()` commits the transaction to the database. It may throw an exception if it can't close the transaction or if `Database.BeginTransaction()` had not been called. - A call to`Database.Dispose()` will clean up the database if an exception is thrown during a transaction. This will change the state of the database to `Closed`.