C# Class Oda.SqlParameter

A parameter for use with SqlWhere
显示文件 Open project: CorbinDallas/Oda

Public Methods

Method Description
SqlParameter ( string name, object value, SqlDbType type, string length ) : System.Data

Initializes a new instance of the SqlParameter class.

Method Details

SqlParameter() public method

Initializes a new instance of the SqlParameter class.
public SqlParameter ( string name, object value, SqlDbType type, string length ) : System.Data
name string The parameter name. E.g.: @UserAgent.
value object The parameter value. Can be any valid SQL data type.
type SqlDbType The SQL database type of this parameter.
length string The length of the SQL database type if required by the type. Enter empy string or null if not required.
return System.Data