C# 클래스 Tiraggo.Interfaces.tgParameters

상속: IEnumerable
파일 보기 프로젝트 열기: BrewDawg/Tiraggo 1 사용 예제들

공개 메소드들

메소드 설명
Add ( string name, object value ) : tgParameter

This is the preferred overload for adding parameters.

Do not add prefixes such as @ or ? or : as the providers append the proper prefix. This allows you to pass parameters in a provider independent fashion. All parameters added via this method are input parameters.

Add ( string name, object value, tgParameterDirection direction ) : tgParameter

This should ONLY be used for parameters other than input parameters.

Add ( string name, object value, tgParameterDirection direction, DbType type, int size ) : tgParameter

This should ONLY be used for parameters other than input parameters.

Add ( string name, tgParameterDirection direction ) : tgParameter

If you need to add a parameter with an tgParameterDirection other than Input use this method.

Add ( string name, tgParameterDirection direction, DbType type, int size ) : tgParameter

This should ONLY be used for parameters other than input parameters.

Add ( tgParameter parameter ) : tgParameter

GetEnumerator ( ) : IEnumerator
tgParameters ( ) : System
this ( string name ) : tgParameter

Use this method to fetch a given tgParameter by name. There should be no prefix such as @, ? or : in the name.

비공개 메소드들

메소드 설명
Merge ( tgParameters parms ) : void

Used Internally to merge parameters returned by the provider back into the original collection.

메소드 상세

Add() 공개 메소드

This is the preferred overload for adding parameters.
Do not add prefixes such as @ or ? or : as the providers append the proper prefix. This allows you to pass parameters in a provider independent fashion. All parameters added via this method are input parameters.
public Add ( string name, object value ) : tgParameter
name string The name of the parameter without a prefix, for example, "EmployeeID" not "@EmployeeID".
value object The value of the parameter
리턴 tgParameter

Add() 공개 메소드

This should ONLY be used for parameters other than input parameters.
public Add ( string name, object value, tgParameterDirection direction ) : tgParameter
name string The name of the parameter without a prefix, for example, "EmployeeID" not "@EmployeeID".
value object The value of the parameter
direction tgParameterDirection The parameter direction
리턴 tgParameter

Add() 공개 메소드

This should ONLY be used for parameters other than input parameters.
public Add ( string name, object value, tgParameterDirection direction, DbType type, int size ) : tgParameter
name string The name of the parameter without a prefix, for example, "EmployeeID" not "@EmployeeID".
value object The value of the parameter
direction tgParameterDirection The parameter direction
type DbType The System.Data.DbType of the parameter
size int The size. For strings the length, for most others 0 can be passed in
리턴 tgParameter

Add() 공개 메소드

If you need to add a parameter with an tgParameterDirection other than Input use this method.
public Add ( string name, tgParameterDirection direction ) : tgParameter
name string The name of the parameter without a prefix, for example, "EmployeeID" not "@EmployeeID".
direction tgParameterDirection The parameter direction
리턴 tgParameter

Add() 공개 메소드

This should ONLY be used for parameters other than input parameters.
public Add ( string name, tgParameterDirection direction, DbType type, int size ) : tgParameter
name string The name of the parameter without a prefix, for example, "EmployeeID" not "@EmployeeID".
direction tgParameterDirection The parameter direction
type DbType The System.Data.DbType of the parameter
size int The size. For strings the length, for most others 0 can be passed in
리턴 tgParameter

Add() 공개 메소드

public Add ( tgParameter parameter ) : tgParameter
parameter tgParameter An already created tgParameter. This is mostly used internally.
리턴 tgParameter

GetEnumerator() 공개 메소드

public GetEnumerator ( ) : IEnumerator
리턴 IEnumerator

tgParameters() 공개 메소드

public tgParameters ( ) : System
리턴 System

this() 공개 메소드

Use this method to fetch a given tgParameter by name. There should be no prefix such as @, ? or : in the name.
public this ( string name ) : tgParameter
name string The name of the parameter without a prefix, for example, "EmployeeID" not "@EmployeeID".
리턴 tgParameter