C# Class MdxClient.MdxParameterCollection

Inheritance: System.Data.Common.DbParameterCollection
Afficher le fichier Open project: DynamicTyped/MdxClient Class Usage Examples

Méthodes publiques

Méthode Description
Add ( MdxParameter value ) : MdxParameter

Adds an MdxParameter object to the MdxParameterCollection collection.

Add ( string parameterName, object value ) : MdxParameter

Creates a new MdxParameter object with the specified name and value and adds it to the collection.

AddRange ( Array values ) : void

Adds an array of items with the specified values to the MdxParameterCollection.

AddRange ( MdxParameter values ) : void

Adds an array of items with the specified values to the MdxParameterCollection.

Clear ( ) : void

Removes all the MdxParameter objects from the MdxParameterCollection.

Contains ( MdxParameter value ) : bool

Indicates whether an MdxParameter with the specified property exists in the collection.

Contains ( object value ) : bool

Indicates whether an MdxParameter with the specified property exists in the collection.

Contains ( string value ) : bool

Indicates whether an MdxParameter with the specified name exists in the collection.

CopyTo ( Array array, int index ) : void

Copies an array of items to the collection starting at the specified index.

CopyTo ( MdxParameter array, int index ) : void

Copies an array of items to the collection starting at the specified index.

GetEnumerator ( ) : IEnumerator

Exposes the GetEnumerator method, which supports a simple iteration over a collection by a .NET Framework data provider.

IndexOf ( MdxParameter value ) : int

Returns the index of the specified MdxParameter object.

IndexOf ( object value ) : int

Returns the index of the specified MdxParameter object.

IndexOf ( string parameterName ) : int

Returns the index of the specified MdxParameter object.

Insert ( int index, MdxParameter value ) : void
Insert ( int index, object value ) : void

Inserts the specified index of the MdxParameter object with the specified name into the collection at the specified index.

Remove ( MdxParameter value ) : void

Removes the specified MdxParameter object from the collection.

Remove ( object value ) : void

Removes the specified MdxParameter object from the collection.

RemoveAt ( int index ) : void

Removes the MdxParameter object at the specified from the collection.

RemoveAt ( string parameterName ) : void

Removes a specified MdxParameter object from the collection.

Méthodes protégées

Méthode Description
GetParameter ( int index ) : DbParameter
GetParameter ( string parameterName ) : DbParameter
SetParameter ( int index, DbParameter value ) : void
SetParameter ( string parameterName, DbParameter value ) : void

Private Methods

Méthode Description
Add ( object value ) : int
Find ( string parameterName ) : MdxParameter
MdxParameterCollection ( ) : System
RangeCheck ( string parameterName ) : int
RangeCheck ( int index ) : void
RemoveIndex ( int index ) : void
Replace ( int index, MdxParameter newValue ) : void
Validate ( int index, MdxParameter value ) : void
ValidateType ( object value ) : void

Method Details

Add() public méthode

Adds an MdxParameter object to the MdxParameterCollection collection.
public Add ( MdxParameter value ) : MdxParameter
value MdxParameter The MdxParameter object to be added.
Résultat MdxParameter

Add() public méthode

Creates a new MdxParameter object with the specified name and value and adds it to the collection.
public Add ( string parameterName, object value ) : MdxParameter
parameterName string The name of the MdxParameter to add.
value object The value of the MdxParameter object to be created.
Résultat MdxParameter

AddRange() public méthode

Adds an array of items with the specified values to the MdxParameterCollection.
public AddRange ( Array values ) : void
values System.Array An array of values of type MdxParameter to add to the collection.
Résultat void

AddRange() public méthode

Adds an array of items with the specified values to the MdxParameterCollection.
public AddRange ( MdxParameter values ) : void
values MdxParameter An array of values of type MdxParameter to add to the collection.
Résultat void

Clear() public méthode

Removes all the MdxParameter objects from the MdxParameterCollection.
public Clear ( ) : void
Résultat void

Contains() public méthode

Indicates whether an MdxParameter with the specified property exists in the collection.
public Contains ( MdxParameter value ) : bool
value MdxParameter The value of the MdxParameter to look for in the collection.
Résultat bool

Contains() public méthode

Indicates whether an MdxParameter with the specified property exists in the collection.
public Contains ( object value ) : bool
value object The value of the MdxParameter to look for in the collection.
Résultat bool

Contains() public méthode

Indicates whether an MdxParameter with the specified name exists in the collection.
public Contains ( string value ) : bool
value string The name of the MdxParameter to look for in the collection.
Résultat bool

CopyTo() public méthode

Copies an array of items to the collection starting at the specified index.
public CopyTo ( Array array, int index ) : void
array System.Array The array of items to copy to the collection.
index int The index in the collection to copy the items.
Résultat void

CopyTo() public méthode

Copies an array of items to the collection starting at the specified index.
public CopyTo ( MdxParameter array, int index ) : void
array MdxParameter The array of items to copy to the collection.
index int The index in the collection to copy the items.
Résultat void

GetEnumerator() public méthode

Exposes the GetEnumerator method, which supports a simple iteration over a collection by a .NET Framework data provider.
public GetEnumerator ( ) : IEnumerator
Résultat IEnumerator

GetParameter() protected méthode

protected GetParameter ( int index ) : DbParameter
index int
Résultat System.Data.Common.DbParameter

GetParameter() protected méthode

protected GetParameter ( string parameterName ) : DbParameter
parameterName string
Résultat System.Data.Common.DbParameter

IndexOf() public méthode

Returns the index of the specified MdxParameter object.
public IndexOf ( MdxParameter value ) : int
value MdxParameter The MdxParameter object in the collection.
Résultat int

IndexOf() public méthode

Returns the index of the specified MdxParameter object.
public IndexOf ( object value ) : int
value object The MdxParameter object in the collection.
Résultat int

IndexOf() public méthode

Returns the index of the specified MdxParameter object.
public IndexOf ( string parameterName ) : int
parameterName string The name of the MdxParameter object in the collection.
Résultat int

Insert() public méthode

public Insert ( int index, MdxParameter value ) : void
index int
value MdxParameter
Résultat void

Insert() public méthode

Inserts the specified index of the MdxParameter object with the specified name into the collection at the specified index.
public Insert ( int index, object value ) : void
index int The index at which to insert the MdxParameter object.
value object The MdxParameter object to insert into the collection.
Résultat void

Remove() public méthode

Removes the specified MdxParameter object from the collection.
public Remove ( MdxParameter value ) : void
value MdxParameter The MdxParameter object to remove.
Résultat void

Remove() public méthode

Removes the specified MdxParameter object from the collection.
public Remove ( object value ) : void
value object The MdxParameter object to remove.
Résultat void

RemoveAt() public méthode

Removes the MdxParameter object at the specified from the collection.
public RemoveAt ( int index ) : void
index int The index where the MdxParameter object is located.
Résultat void

RemoveAt() public méthode

Removes a specified MdxParameter object from the collection.
public RemoveAt ( string parameterName ) : void
parameterName string The name of the MdxParameter object to remove.
Résultat void

SetParameter() protected méthode

protected SetParameter ( int index, DbParameter value ) : void
index int
value System.Data.Common.DbParameter
Résultat void

SetParameter() protected méthode

protected SetParameter ( string parameterName, DbParameter value ) : void
parameterName string
value System.Data.Common.DbParameter
Résultat void