Click here to Skip to main content
15,886,919 members
Articles / Programming Languages / C#

Clr Type To SqlDbType Mapper for C#

Rate me:
Please Sign up or sign in to vote.
4.25/5 (3 votes)
14 Dec 2015CPOL 11.4K   4  
As part of the refactoring work for my stored procedure framework project, I needed to extract the conversion of CLR Types to `SqlDbTypes` out into a dedicated helper class. this has given me a simple mapper class which I'd like to share.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
United Kingdom United Kingdom
Duane has worked in a commercial software development environment for 9 years, with all but three for a global fashion retailer.

He is proficient in ASP.Net, MVC, C#, HTML, CSS, JavaScript, SQL Server TSQL.

Comments and Discussions