SqlDataReader Extensions

  • GetColumnOrDefault - Gets a value from the SqlDataReader column or returns the default value of type parameter if the type is inconsistent.
    • public static T GetColumnOrDefault<T>(this SqlDataReader reader, string columnName)

Last edited Oct 26, 2011 at 1:03 AM by cchamberlain, version 3

Comments

No comments yet.