Class SoParameterCollection
Inherited Members
Namespace: SuperOffice.Data
Assembly: SoDataBase.dll
Syntax
public class SoParameterCollection : ArrayList, ICloneable, IDataParameterCollection, IList, ICollection, IEnumerable
Constructors
SoParameterCollection()
Declaration
public SoParameterCollection()
Properties
this[string]
Gets or sets the object at the specified index.
Declaration
public object this[string index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
string | index |
Property Value
Type | Description |
---|---|
object |
Methods
Add(SoParameter)
Adds the specified value.
Declaration
public int Add(SoParameter value)
Parameters
Type | Name | Description |
---|---|---|
SoParameter | value | The value. |
Returns
Type | Description |
---|---|
int | The ArrayList index at which the value has been added. |
Add(object)
Adds an object to the end of the ArrayList.
Declaration
public override int Add(object value)
Parameters
Type | Name | Description |
---|---|---|
object | value | The object to be added to the end of the ArrayList. The value can be null. |
Returns
Type | Description |
---|---|
int | The ArrayList index at which the value has been added. |
Overrides
Exceptions
Type | Condition |
---|---|
NotSupportedException | The ArrayList is read-only.-or- The ArrayList has a fixed size. |
Add(string, DbType)
Adds the specified parameter name.
Declaration
public int Add(string parameterName, DbType type)
Parameters
Type | Name | Description |
---|---|---|
string | parameterName | The name of the parameter to map. |
DbType | type |
Returns
Type | Description |
---|---|
int | The ArrayList index at which the value has been added. |
Add(string, DbType, string)
Adds the specified parameter name.
Declaration
public int Add(string parameterName, DbType dbType, string sourceColumn)
Parameters
Type | Name | Description |
---|---|---|
string | parameterName | The name of the parameter to map. |
DbType | dbType | Type of the db. |
string | sourceColumn | The name of the source column |
Returns
Type | Description |
---|---|
int | The ArrayList index at which the value has been added. |
Add(string, object)
Adds the specified parameter name.
Declaration
public int Add(string parameterName, object value)
Parameters
Type | Name | Description |
---|---|---|
string | parameterName | The name of the parameter to map. |
object | value | The value. |
Returns
Type | Description |
---|---|
int | The ArrayList index at which the value has been added. |
Contains(string)
Gets a value indicating whether a parameter in the collection has the specified source table name.
Declaration
public bool Contains(string parameterName)
Parameters
Type | Name | Description |
---|---|---|
string | parameterName | The name of the parameter. |
Returns
Type | Description |
---|---|
bool | true if the collection contains the parameter; otherwise, false. |
IndexOf(string)
Gets the location of the IDataParameter within the collection.
Declaration
public int IndexOf(string parameterName)
Parameters
Type | Name | Description |
---|---|---|
string | parameterName | The name of the parameter. |
Returns
Type | Description |
---|---|
int | The zero-based location of the IDataParameter within the collection. |
RemoveAt(string)
Removes the IDataParameter from the collection.
Declaration
public void RemoveAt(string parameterName)
Parameters
Type | Name | Description |
---|---|---|
string | parameterName | The name of the parameter. |