Skip to content

Passion for Coding

Software Development is a Job – Coding is a Passion

  • Categories
    • C#
    • Software Development
    • Architecture
    • JavaScript
    • SQL
    • Web
    • Other
  • About
    • Consulting
    • Anders Abel

Tag: Transactions

Using Transactions for Unit Tests

Unit tests should preferably be independent of external services, systems and files. The standard way to achieve this is to create mocks. A mock is an object that can be used in place of the real resource and act in a predictable way to ensure the tests always give the same result. I think that this is… Continue reading Using Transactions for Unit Tests

Published 2011-12-05
Categorized as C# Tagged LINQ to SQL, Unit Tests, Database, Transactions

Transaction Safety for Manual SQL Updates

When maintaining a system that is in production there are often issues that need to be solved by running custom SQL scripts directly in the production database. There can be different reasons for this: Updating a lookup table to add a new option to dropdown boxes, where there is no user interface for handling the… Continue reading Transaction Safety for Manual SQL Updates

Published 2011-11-29
Categorized as SQL Tagged Database, Transactions, SQL

I'm Anders Abel, an independent systems architect and developer in Stockholm, Sweden.

profile for Anders Abel at Stack Overflow, Q&A for professional and enthusiast programmers

Code for most posts is available on my GitHub account.

Popular Posts

  • Understanding the Owin External Authentication Pipeline
  • Programmer Time Translation Table
  • Don’t use Linq’s Join. Navigate!
  • jQuery UI Replacement for alert()
  • Prevent Page behind JQuery UI Dialog from Scrolling

Archives

Series

Passion for Coding
Proudly powered by WordPress.