Click here to Skip to main content
15,897,371 members
Articles / Programming Languages / C#

Using the LINQ ColumnAttribute to Get Field Lengths from your Database

Rate me:
Please Sign up or sign in to vote.
4.40/5 (12 votes)
30 Jun 2008CPOL3 min read 75.5K   23  
Reflecting on LINQ properties gets you information about the length of your database fields
No downloads associated with this content

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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


Written By
United States United States
I have been writing code and managing teams of developers for more years than I care to remember.

Comments and Discussions