public static GetDateTime ( this reader, string columnName ) : System.DateTime | ||
reader | this | |
columnName | string | |
return | System.DateTime |
public static DateTime GetDateTime(this DbDataReader reader, string columnName)
{
return reader.GetDateTime(reader.GetOrdinal("columnName"));
}