All pastes #422909 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-04-03 20:00 UTC
rendered paste body
public static T DbCast<T>(Object value)
{
	if (value is System.DBNull)
		return default(T);
		
	return (T) value;
}