|
.NET Framework Beta 2 |
|||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
Collects all parameters relevant to a MySqlSharp.Provider.MySqlCommand as well as their respective mappings to System.Data.DataSet columns.
Property Summary | |
---|---|
int |
Count
Gets the number of MySqlSharp.Provider.MySqlParameter objects in the collection. |
MySqlSharp.Provider.MySqlParameter |
Item[int i] Gets the MySqlSharp.Provider.MySqlParameter at the specified index. |
MySqlSharp.Provider.MySqlParameter |
Item[string parameterName] Gets the MySqlSharp.Provider.MySqlParameter with the specified name. |
Method Summary | |
---|---|
int |
Add(object value) Adds the specified MySqlSharp.Provider.MySqlParameter object to the MySqlSharp.Provider.MySqlParameterCollection. |
int |
Add(MySqlSharp.Provider.MySqlParameter value) Adds the specified MySqlSharp.Provider.MySqlParameter object to the MySqlSharp.Provider.MySqlParameterCollection. |
MySqlSharp.Provider.MySqlParameter |
Add(string parameterName, object value) Adds a MySqlSharp.Provider.MySqlParameter to the MySqlSharp.Provider.MySqlParameterCollection with the specified parameter name and value. |
MySqlSharp.Provider.MySqlParameter |
Add(string parameterName, MySqlSharp.Provider.MySqlDbType dbType) Adds a MySqlSharp.Provider.MySqlParameter to the MySqlSharp.Provider.MySqlParameterCollection with the parameter name and the data type. |
MySqlSharp.Provider.MySqlParameter |
Add(string parameterName, MySqlSharp.Provider.MySqlDbType dbType, int size) Adds a MySqlSharp.Provider.MySqlParameter to the MySqlSharp.Provider.MySqlParameterCollection with the parameter name, the data type, and the parameter size (column width). |
MySqlSharp.Provider.MySqlParameter |
Add(string parameterName, MySqlSharp.Provider.MySqlDbType dbType, int size, string sourceColumn) Adds a MySqlSharp.Provider.MySqlParameter to the MySqlSharp.Provider.MySqlParameterCollection with the parameter name, the data type, the parameter size (column width), and the source column name. |
void |
Clear() Removes all items from the collection. |
bool |
Contains(object value) Indicates whether a MySqlSharp.Provider.MySqlParameter exists in the collection. |
bool |
Contains(string value) Indicates whether a MySqlSharp.Provider.MySqlParameter with the specified parameter name exists in the collection. |
void |
CopyTo(System.Array array, int index) Copies MySqlSharp.Provider.MySqlParameter objects from the MySqlSharp.Provider.MySqlParameterCollection to the specified array. |
System.Collections.IEnumerator |
GetEnumerator() This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
int |
IndexOf(object value) Gets the location of a MySqlSharp.Provider.MySqlParameter in the collection. |
int |
IndexOf(string value) Gets the location of the MySqlSharp.Provider.MySqlParameter in the collection with a specific parameter name. |
void |
Insert(int index, object value) Inserts a MySqlSharp.Provider.MySqlParameter in the collection at the specified index. |
void |
Remove(object value) Removes the specified MySqlSharp.Provider.MySqlParameter from the collection. |
void |
RemoveAt(int i) Removes the specified MySqlSharp.Provider.MySqlParameter from the collection using a specific index. |
void |
RemoveAt(string parameterName) Removes the specified MySqlSharp.Provider.MySqlParameter from the collection using the parameter name. |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
Property Detail |
---|
public int Count
Gets the number of MySqlSharp.Provider.MySqlParameter objects in the collection.
Value:
public MySqlSharp.Provider.MySqlParameter this[int i]
Gets the MySqlSharp.Provider.MySqlParameter at the specified index.
public MySqlSharp.Provider.MySqlParameter this[string parameterName]
Gets the MySqlSharp.Provider.MySqlParameter with the specified name.
Method Detail |
---|
public int Add(object value)
Adds the specified MySqlSharp.Provider.MySqlParameter object to the MySqlSharp.Provider.MySqlParameterCollection.
Parameters:
value
- The MySqlSharp.Provider.MySqlParameter to add to the collection.System.InvalidCastException
- The parameter passed was not a MySqlSharp.Provider.MySqlParameter.public int Add(MySqlSharp.Provider.MySqlParameter value)
Adds the specified MySqlSharp.Provider.MySqlParameter object to the MySqlSharp.Provider.MySqlParameterCollection.
Parameters:
value
- The MySqlSharp.Provider.MySqlParameter to add to the collection.public MySqlSharp.Provider.MySqlParameter Add(string parameterName, object value)
Adds a MySqlSharp.Provider.MySqlParameter to the MySqlSharp.Provider.MySqlParameterCollection with the specified parameter name and value.
Parameters:
parameterName
- The name of the parameter.value
- The MySqlSharp.Provider.MySqlParameter.Value of the MySqlSharp.Provider.MySqlParameter to add to the collection.public MySqlSharp.Provider.MySqlParameter Add(string parameterName, MySqlSharp.Provider.MySqlDbType dbType)
Adds a MySqlSharp.Provider.MySqlParameter to the MySqlSharp.Provider.MySqlParameterCollection with the parameter name and the data type.
Parameters:
parameterName
- The name of the parameter.dbType
- One of the System.Data.SqlDbType values.public MySqlSharp.Provider.MySqlParameter Add(string parameterName, MySqlSharp.Provider.MySqlDbType dbType, int size)
Adds a MySqlSharp.Provider.MySqlParameter to the MySqlSharp.Provider.MySqlParameterCollection with the parameter name, the data type, and the parameter size (column width).
Parameters:
parameterName
- The name of the parameter.dbType
- One of the System.Data.SqlDbType values.size
- The size of the parameter (width of the column).public MySqlSharp.Provider.MySqlParameter Add(string parameterName, MySqlSharp.Provider.MySqlDbType dbType, int size, string sourceColumn)
Adds a MySqlSharp.Provider.MySqlParameter to the MySqlSharp.Provider.MySqlParameterCollection with the parameter name, the data type, the parameter size (column width), and the source column name.
Parameters:
parameterName
- The name of the parameter.dbType
- One of the System.Data.SqlDbType values.size
- The size of the parameter (width of the column).sourceColumn
- The name of the source column.public void Clear()
Removes all items from the collection.
public bool Contains(object value)
Indicates whether a MySqlSharp.Provider.MySqlParameter exists in the collection.
Parameters:
value
- A MySqlSharp.Provider.MySqlParameter object.public bool Contains(string value)
Indicates whether a MySqlSharp.Provider.MySqlParameter with the specified parameter name exists in the collection.
Parameters:
value
- The name of the parameter to retrieve.public void CopyTo(System.Array array, int index)
Copies MySqlSharp.Provider.MySqlParameter objects from the MySqlSharp.Provider.MySqlParameterCollection to the specified array.
Parameters:
array
- An Array to which to copy the MySqlSharp.Provider.MySqlParameter objects in the collection.index
- The starting index of the array.public System.Collections.IEnumerator GetEnumerator()
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
public int IndexOf(object value)
Gets the location of a MySqlSharp.Provider.MySqlParameter in the collection.
Parameters:
value
- The MySqlSharp.Provider.MySqlParameter object to locate.public int IndexOf(string value)
Gets the location of the MySqlSharp.Provider.MySqlParameter in the collection with a specific parameter name.
Parameters:
value
- The name of the parameter to retrieve.public void Insert(int index, object value)
Inserts a MySqlSharp.Provider.MySqlParameter in the collection at the specified index.
Parameters:
index
- The zero-based index within the collection to insert the value parameter.value
- The MySqlSharp.Provider.MySqlParameter to add to the collection.public void Remove(object value)
Removes the specified MySqlSharp.Provider.MySqlParameter from the collection.
Parameters:
value
- A MySqlSharp.Provider.MySqlParameter object to remove from the collection.public void RemoveAt(int i)
Removes the specified MySqlSharp.Provider.MySqlParameter from the collection using a specific index.
Parameters:
i
- The zero-based index of the parameter.public void RemoveAt(string parameterName)
Removes the specified MySqlSharp.Provider.MySqlParameter from the collection using the parameter name.
Parameters:
parameterName
- The name of the parameter to retrieve.
|
.NET Framework Beta 2 |
|||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |