• Code
  • Tags
  • Users
  • Titles
  • Log in
  • Feedback
  • FAQ
Share Code

View User Profile

TorbjörnH
716
Code Contributor
Torbjörn Hansson
Göteborg, Sweden
toha73


7 Shared Codes

Views Used Newest Oldest

320
Views
Get T-SQL for Linq to Sql expression [draft]
By @toha73 "Code Contributor"  October 10, 2012 8:51 AM

"Generate sql query for your linq to sql query expression. Doesn't support all dbtypes."
debugging

Mark 'debugging' tag as 'like'

Mark 'debugging' tag as 'ignore'

linq

Mark 'linq' tag as 'like'

Mark 'linq' tag as 'ignore'

linq-expressions

Mark 'linq-expressions' tag as 'like'

Mark 'linq-expressions' tag as 'ignore'

0 0 0 0


557
Views
Left outer join extension method
By @toha73 "Code Contributor"  August 13, 2012 5:03 PM

"Extension method to do a left outer join with linq expressions"
linq

Mark 'linq' tag as 'like'

Mark 'linq' tag as 'ignore'

linq-expressions

Mark 'linq-expressions' tag as 'like'

Mark 'linq-expressions' tag as 'ignore'

0 0 0 0


981
Views
Serialize (anonymous) objects to xml
By @toha73 "Code Contributor"  December 17, 2010 3:57 PM

"Serializes anonymous objects to xml"
c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

serialize

Mark 'serialize' tag as 'like'

Mark 'serialize' tag as 'ignore'

xml

Mark 'xml' tag as 'like'

Mark 'xml' tag as 'ignore'

0 0 0 0


684
Views
Parsing string to enum, extension method
By @toha73 "Code Contributor"  September 17, 2010 10:51 AM

"A couple of extension methods for parsing strings to enums"
c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

enum

Mark 'enum' tag as 'like'

Mark 'enum' tag as 'ignore'

extension-method

Mark 'extension-method' tag as 'like'

Mark 'extension-method' tag as 'ignore'

string

Mark 'string' tag as 'like'

Mark 'string' tag as 'ignore'

0 0 0 0


698
Views
Display number of bytes as a string given in kB, MB, GB etc
By @toha73 "Code Contributor"  August 02, 2010 2:35 PM

"Convert number of bytes into a more "friendly" like string that display number of kB, MB or GB etc."
bytes

Mark 'bytes' tag as 'like'

Mark 'bytes' tag as 'ignore'

c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

0 0 0 1


723
Views
Fork of Some useful extensions to String
By @toha73 "Code Contributor"  July 21, 2010 11:07 AM

"I added some useful extensions to the string object to make a more readable code etc... enjoy... Modify it to what suites you be"
c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

extension

Mark 'extension' tag as 'like'

Mark 'extension' tag as 'ignore'

string

Mark 'string' tag as 'like'

Mark 'string' tag as 'ignore'

0 0 0 14


369
Views
Converting numbers to/from numeral systems
By @toha73 "Code Contributor"  July 15, 2010 9:06 PM

"Let you convert integers to other numeral system, like a base36 string."
c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

numeral-system

Mark 'numeral-system' tag as 'like'

Mark 'numeral-system' tag as 'ignore'

0 0 0 0



Earned Titles

I'm Good
Code Contributor

Squeed
Made by: Fredrik Normén 2010