[]
Gets and sets the DbParameter at the specified index.
public DbParameter this[int index] { get; set; }
Type | Name | Description |
---|---|---|
int | index | The zero-based index of the parameter. |
Type | Description |
---|---|
DbParameter | The DbParameter at the specified index. |
Gets and sets the DbParameter with the specified name.
public DbParameter this[string paramName] { get; set; }
Type | Name | Description |
---|---|---|
string | paramName | The name of the parameter. |
Type | Description |
---|---|
DbParameter | The DbParameter with the specified name. |