C# Class DSShared.DB.DBTableType

Class that wraps around a Type object that automates the retrieval and updating of rows in a database
Show file Open project: pmprog/OpenXCOM.Tools Class Usage Examples

Public Methods

Method Description
DBTableType ( string table, Type type ) : System

Constructor

this ( PropertyInfo pi ) : DBColumnAttribute

Gets the DBColumnAttribute attached to the specified PropertyInfo

Method Details

DBTableType() public method

Constructor
public DBTableType ( string table, Type type ) : System
table string Name of the table in the database this object represents
type System.Type Underlying type that operates directly on the database table
return System

this() public method

Gets the DBColumnAttribute attached to the specified PropertyInfo
public this ( PropertyInfo pi ) : DBColumnAttribute
pi System.Reflection.PropertyInfo
return DBColumnAttribute