Property | Type | Description | |
---|---|---|---|
Add | Npgsql.NpgsqlParameter | ||
CheckType | void | ||
InvalidateHashLookups | void | ||
NpgsqlParameterCollection | System | ||
this | Npgsql.NpgsqlParameter | ||
this | Npgsql.NpgsqlParameter |
Method | Description | |
---|---|---|
Add ( Npgsql.NpgsqlParameter value ) : Npgsql.NpgsqlParameter |
Adds the specified
|
|
Add ( string parameterName, NpgsqlDbType parameterType ) : Npgsql.NpgsqlParameter |
Adds a
|
|
Add ( string parameterName, NpgsqlDbType parameterType, int size ) : Npgsql.NpgsqlParameter |
Adds a
|
|
Add ( string parameterName, NpgsqlDbType parameterType, int size, string sourceColumn ) : Npgsql.NpgsqlParameter |
Adds a
|
|
Add ( object value ) : int |
Adds the specified
|
|
AddRange ( |
Add an Array of parameters to the collection.
|
|
AddWithValue ( string parameterName, NpgsqlDbType parameterType, int size, object value ) : Npgsql.NpgsqlParameter |
Adds a
|
|
AddWithValue ( string parameterName, NpgsqlDbType parameterType, int size, string sourceColumn, object value ) : Npgsql.NpgsqlParameter |
Adds a
|
|
AddWithValue ( string parameterName, NpgsqlDbType parameterType, object value ) : Npgsql.NpgsqlParameter |
Adds a
|
|
AddWithValue ( string parameterName, object value ) : Npgsql.NpgsqlParameter |
Adds a
|
|
Clear ( ) : void |
Removes all items from the collection.
|
|
Contains ( Npgsql.NpgsqlParameter item ) : bool |
Report whether the specified parameter is present in the collection.
|
|
Contains ( object value ) : bool |
Gets a value indicating whether a
|
|
Contains ( string parameterName ) : bool |
Gets a value indicating whether a
|
|
CopyTo ( |
Copies
|
|
CopyTo ( Npgsql.NpgsqlParameter array, int arrayIndex ) : void |
Convert collection to a System.Array.
|
|
GetEnumerator ( ) : IEnumerator |
Returns an enumerator that can iterate through the collection.
|
|
IndexOf ( Npgsql.NpgsqlParameter item ) : int |
Report the offset within the collection of the given parameter.
|
|
IndexOf ( object value ) : int |
Gets the location of a
|
|
IndexOf ( string parameterName ) : int |
Gets the location of the
|
|
Insert ( int index, Npgsql.NpgsqlParameter item ) : void |
Insert the specified parameter into the collection.
|
|
Insert ( int index, object oValue ) : void |
Inserts a
|
|
Remove ( Npgsql.NpgsqlParameter item ) : bool |
Remove the specified parameter from the collection.
|
|
Remove ( object oValue ) : void |
Removes the specified
|
|
Remove ( string parameterName ) : void |
Removes the specified
|
|
RemoveAt ( int index ) : void |
Removes the specified
|
|
RemoveAt ( string parameterName ) : void |
Removes the specified
|
|
ToArray ( ) : Npgsql.NpgsqlParameter[] |
Convert collection to a System.Array.
|
|
TryGetValue ( string parameterName, Npgsql.NpgsqlParameter ¶meter ) : bool |
Gets a value indicating whether a
|
Method | Description | |
---|---|---|
GetParameter ( int index ) : DbParameter |
Get parameter.
|
|
GetParameter ( string parameterName ) : DbParameter |
Get parameter.
|
|
SetParameter ( int index, DbParameter value ) : void |
Set parameter.
|
|
SetParameter ( string parameterName, DbParameter value ) : void |
Set parameter.
|
Method | Description | |
---|---|---|
Add ( string parameterName, object value ) : Npgsql.NpgsqlParameter | ||
CheckType ( object Object ) : void |
In methods taking an object as argument this method is used to verify that the argument has the type
|
|
InvalidateHashLookups ( ) : void |
Invalidate the hash lookup tables. This should be done any time a change may throw the lookups out of sync with the list.
|
|
NpgsqlParameterCollection ( ) : System |
Initializes a new instance of the NpgsqlParameterCollection class.
|
|
this ( int index ) : Npgsql.NpgsqlParameter | ||
this ( string parameterName ) : Npgsql.NpgsqlParameter |
public Add ( Npgsql.NpgsqlParameter value ) : Npgsql.NpgsqlParameter | ||
value | Npgsql.NpgsqlParameter | The |
return | Npgsql.NpgsqlParameter |
public Add ( string parameterName, NpgsqlDbType parameterType ) : Npgsql.NpgsqlParameter | ||
parameterName | string | The name of the parameter. |
parameterType | NpgsqlDbType | One of the DbType values. |
return | Npgsql.NpgsqlParameter |
public Add ( string parameterName, NpgsqlDbType parameterType, int size ) : Npgsql.NpgsqlParameter | ||
parameterName | string | The name of the parameter. |
parameterType | NpgsqlDbType | One of the DbType values. |
size | int | The length of the column. |
return | Npgsql.NpgsqlParameter |
public Add ( string parameterName, NpgsqlDbType parameterType, int size, string sourceColumn ) : Npgsql.NpgsqlParameter | ||
parameterName | string | The name of the parameter. |
parameterType | NpgsqlDbType | One of the DbType values. |
size | int | The length of the column. |
sourceColumn | string | The name of the source column. |
return | Npgsql.NpgsqlParameter |
public Add ( object value ) : int | ||
value | object | The |
return | int |
public AddRange ( |
||
values | Parameters to add. | |
return | void |
public AddWithValue ( string parameterName, NpgsqlDbType parameterType, int size, object value ) : Npgsql.NpgsqlParameter | ||
parameterName | string | The name of the |
parameterType | NpgsqlDbType | One of the NpgsqlDbType values. |
size | int | The length of the column. |
value | object | The Value of the |
return | Npgsql.NpgsqlParameter |
public AddWithValue ( string parameterName, NpgsqlDbType parameterType, int size, string sourceColumn, object value ) : Npgsql.NpgsqlParameter | ||
parameterName | string | The name of the |
parameterType | NpgsqlDbType | One of the NpgsqlDbType values. |
size | int | The length of the column. |
sourceColumn | string | The name of the source column. |
value | object | The Value of the |
return | Npgsql.NpgsqlParameter |
public AddWithValue ( string parameterName, NpgsqlDbType parameterType, object value ) : Npgsql.NpgsqlParameter | ||
parameterName | string | The name of the |
parameterType | NpgsqlDbType | One of the NpgsqlDbType values. |
value | object | The Value of the |
return | Npgsql.NpgsqlParameter |
public AddWithValue ( string parameterName, object value ) : Npgsql.NpgsqlParameter | ||
parameterName | string | The name of the |
value | object | The Value of the |
return | Npgsql.NpgsqlParameter |
public Contains ( Npgsql.NpgsqlParameter item ) : bool | ||
item | Npgsql.NpgsqlParameter | Parameter to find. |
return | bool |
public Contains ( object value ) : bool | ||
value | object | The value of the |
return | bool |
public Contains ( string parameterName ) : bool | ||
parameterName | string | The name of the |
return | bool |
public CopyTo ( |
||
array | An |
|
index | int | The starting index of the array. |
return | void |
public CopyTo ( Npgsql.NpgsqlParameter array, int arrayIndex ) : void | ||
array | Npgsql.NpgsqlParameter | Destination array. |
arrayIndex | int | Starting index in destination array. |
return | void |
protected GetParameter ( int index ) : DbParameter | ||
index | int | |
return | DbParameter |
protected GetParameter ( string parameterName ) : DbParameter | ||
parameterName | string | |
return | DbParameter |
public IndexOf ( Npgsql.NpgsqlParameter item ) : int | ||
item | Npgsql.NpgsqlParameter | Parameter to find. |
return | int |
public IndexOf ( object value ) : int | ||
value | object | The value of the |
return | int |
public IndexOf ( string parameterName ) : int | ||
parameterName | string | The name of the |
return | int |
public Insert ( int index, Npgsql.NpgsqlParameter item ) : void | ||
index | int | Index of the existing parameter before which to insert the new one. |
item | Npgsql.NpgsqlParameter | Parameter to insert. |
return | void |
public Insert ( int index, object oValue ) : void | ||
index | int | The zero-based index where the parameter is to be inserted within the collection. |
oValue | object | The |
return | void |
public Remove ( Npgsql.NpgsqlParameter item ) : bool | ||
item | Npgsql.NpgsqlParameter | Parameter to remove. |
return | bool |
public Remove ( object oValue ) : void | ||
oValue | object | The |
return | void |
public Remove ( string parameterName ) : void | ||
parameterName | string | The name of the |
return | void |
public RemoveAt ( int index ) : void | ||
index | int | The zero-based index of the parameter. |
return | void |
public RemoveAt ( string parameterName ) : void | ||
parameterName | string | The name of the |
return | void |
protected SetParameter ( int index, DbParameter value ) : void | ||
index | int | |
value | DbParameter | |
return | void |
protected SetParameter ( string parameterName, DbParameter value ) : void | ||
parameterName | string | |
value | DbParameter | |
return | void |
public ToArray ( ) : Npgsql.NpgsqlParameter[] | ||
return | Npgsql.NpgsqlParameter[] |
public TryGetValue ( string parameterName, Npgsql.NpgsqlParameter ¶meter ) : bool | ||
parameterName | string | The name of the |
parameter | Npgsql.NpgsqlParameter | A reference to the requested parameter is returned in this out param if it is found in the list. This value is null if the parameter is not found. |
return | bool |