Automated Generation of Table Columns, Class Properties, and Form Field Mapping with C# Reflection
Details Related Types
Site:  C#Today
Original URL:  http://www.csharptoday.com/content/articles/20011121.asp
Summary:
In this article, Tin Lam shows how to use reflection to help us with complex mappings. Reflection allows us to examine assemblies and types at runtime, and find out everything about that type. We will also see how to dynamically extract the type information, and then carry out automated mappings between database table columns, HTML form fields and class properties.
System.Boolean
System.Collections.ArrayList
System.Data.DataSet
System.Data.SqlClient.SqlCommand
System.Data.SqlClient.SqlConnection
System.Data.SqlClient.SqlDataReader
System.DateTime
System.EventArgs
System.EventHandler
System.MissingFieldException
System.MissingMethodException
System.Reflection.BindingFlags
System.Reflection.PropertyInfo
System.Runtime.Remoting.ObjectHandle
System.Security.SecurityException
System.TypeCode
System.Web.HttpRequest
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com