Extension Methods from Blake Pell
-
ToDelimitedString
Converts a List(Of String) into a delimited string.
-
ActualCommandText
Shows the SQL of the CommandText property but replaces all of the DB parameters with their actual values.
-
AddIfDoesntExist
Adds an item to a generic list if it doesn't exit.
-
IsInterval
Determines if the Integer is of the specified interval. E.g. if the interval is 100 and the integer is 400, it would return true. 127 would return false. This function uses the Mod operator, for the above example: (300 Mod 100 = 0)
-
FromDelimitedString
Returns a string list from a delimited string where you provide the delimiter.
-
AddRightIfDoesntExist
Adds a value onto the end of the string if it does not already exist there.
-
AddLeftIfDoesntExist
Adds a value onto the beginning of a string if it does not already exist there.