Transactions as a core building block of entity framework. The DbContext object which we heavily use for interacting with the database uses transactions internally without you having to do anything extra. In case you need to manually provide transaction support, here is how you can do it. In this post, I cover three cases in which transaction scope is being used to show rollback when an error occurs during an update of multiple entities:when you have multiple save calls to the context;when you have single save with multiple object; and transactions across multiple contexts. Let’s first review our simple model and context object. To re-create this project, use Visual Studio 2010 console project with Entity Framework 5.0 RC bits from nuget. Programming Interview Questions and Answers: Entity Framework transaction scope examples
Knowledgebase - activePDF Technical Support
Pen Actions Create New Pen Save Canvas Fireworks
Creative CSS3 Animation Menus
Performance and the Entity Framework Introduction If you are using the Entity Framework (EF), then you need to understand the best practices for improving its performance, or you will suffer the consequences! Background
jQuery's replaceWith and using it to create a new insertion mode for Ajax update targets - Building Web Applications This replaces the contents of the element, i.e. the DIV element itself is not replaced. Sometimes it is useful or even necessary to replace a complete element, not only its children. For that we have jQuery's replaceWith method:
Custom MVC ModelBinder with Complex Models/Objects/Interfaces using built in MVC Validation
Advertisement Since our last round-up of useful CSS techniques, we’ve seen a lot of truly remarkable CSS geekery out there. With CSS3, some of the older techniques now have become obsolete, others have established themselves as standards, and many techniques are still in the “crazy experimentation” stage. Since the release of the previous post, we’ve been collecting, sorting, filtering and preparing a compact overview of powerful new CSS techniques.
Why Does Windows Have Terrible Battery Life? October 21, 2013 I've become a huge fan of touch computing. I believe that most things we think of as "computers" will be de-facto tablets, either in our pocket, in our hands, possibly even mounted on our wrists or forearms. I can't wait for the iPad 5 this week (I'll be ordering three), and my Surface Pro 2 should arrive this week too.
K. Scott Allen
New addtions to the 1,000+ jQuery Plugins Directory