Show / Hide Table of Contents

Class SoParameterCollection

Inheritance
Object
SoParameterCollection
Implements
IDataParameterCollection
ICollection
IEnumerable
IList
Namespace: SuperOffice.Data
Assembly: SoDataBase.dll
Syntax
public class SoParameterCollection : ArrayList, IDataParameterCollection, ICollection, IEnumerable, IList

Constructors

SoParameterCollection()

Declaration
public SoParameterCollection()

Properties

Item[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
Int32

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
Int32

The ArrayList index at which the value has been added.

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
Int32

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
Int32

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
Int32

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
Boolean

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
Int32

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.

Implements

System.Data.IDataParameterCollection
System.Collections.ICollection
System.Collections.IEnumerable
System.Collections.IList

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top