Timeline for Transaction handling for multiple SQL statements
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 23, 2017 at 12:40 | history | edited | CommunityBot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
Jun 4, 2015 at 18:04 | comment | added | Dan Lyons |
Since you already suggested he use some LINQ functionality to make sure the list is non-empty, he could replace the var payInfo = list[first]; with var payInfo = list.First(); and drop first entirely. He could then change the list parameter to IEnumerable<PaymentInfo> .
|
|
Aug 16, 2014 at 6:16 | vote | accept | CAD | ||
Aug 13, 2014 at 16:01 | comment | added | TyCobb | Not to go down the rabbit hole of naming conventions, but I believe local constants get the lowerCamelCase treatment. Certain style cops will attempt to force this (ReSharper being one). Unfortunately this is the only link source I could find to something written down. stackoverflow.com/questions/3157431/… | |
Aug 13, 2014 at 5:27 | history | answered | Heslacher | CC BY-SA 3.0 |