Click here to Skip to main content

Comments by Daniel Gidman (Top 6 by date)

Daniel Gidman at 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 at 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 at 26-Sep-11 13:30pm View
   
Deleted
Why not just install and configure Elmah to send the emails?
Daniel Gidman at 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 at 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.
Daniel Gidman at 20-Jul-11 13:36pm View
   
Deleted
Reason for my vote of 1
The methods are redundant and easily implemented with Where(), Select() and other extension methods very quickly. Also you are typing the method against a string when you could easily type it against a variable type "T" such that the same methods will work across any like types.

Advertise | Privacy | Mobile
Web03 | 2.8.150327.1 | Last Updated 1 Jan 1900
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid