Click here to Skip to main content
15,882,113 members

Comments by Daniel Gidman (Top 6 by date)

Daniel Gidman 21-Dec-11 13:57pm View    
Deleted
0) your input tables do have to be converted to nvarchar(max) to work
1) Null values will increase the count but not add to the concatenation or break it.
2) CTE's scale fairly well usually.
3) Change MAX(Model) to MIN(Model) to order ascending.
Daniel Gidman 21-Dec-11 13:27pm View    
Deleted
This will break the css if the element has more classes assigned to it than just a class(Red|Green|Blue). Its better to use the original tip. or tip 2 which makes use of the chaining capability of jQuery.
Daniel Gidman 26-Sep-11 13:30pm View    
Deleted
Why not just install and configure Elmah to send the emails?
Daniel Gidman 4-Aug-11 23:20pm View    
Enum to Dictionary @ ExtensionMethod.net

Thats an extension methoad that will convert an enumeration to a dictionary.
Daniel Gidman 21-Jul-11 9:44am View    
Deleted
Magic number (4) is account for the prefix "set " || "get " due to it being inside a property asscessor.

So, not really magic at all, just due to location of call.

As to simplifying for outside calling of a the PropertyChanged... Use expressions.

linq-expressions-and-extension-methods-to-get-property-name @ stackoverflow.com

I think the big thing that I don't like very much about your solution here is that it doesn't really remove maintenance concerns, it minimizes them some and centralizes them, but doesn't remove them completely.