C# Class Azavea.Open.DAO.Tests.TestParameterCollection

/// This thin DbParameterCollection subclass avoids adding a dependency to a specific DbParameterCollection implementation
Inheritance: System.Data.Common.DbParameterCollection
Datei anzeigen Open project: azavea/net-dao Class Usage Examples

Public Methods

Method Description
Add ( object value ) : int
AddRange ( Array values ) : void
Clear ( ) : void
Contains ( object value ) : bool
Contains ( string value ) : bool
CopyTo ( Array array, int index ) : void
GetEnumerator ( ) : IEnumerator
IndexOf ( object value ) : int
IndexOf ( string parameterName ) : int
Insert ( int index, object value ) : void
Remove ( object value ) : void
RemoveAt ( int index ) : void
RemoveAt ( string parameterName ) : void
TestParameterCollection ( ) : System

Protected Methods

Method Description
GetParameter ( int index ) : DbParameter
GetParameter ( string parameterName ) : DbParameter
SetParameter ( int index, DbParameter value ) : void
SetParameter ( string parameterName, DbParameter value ) : void

Method Details

Add() public method

public Add ( object value ) : int
value object
return int

AddRange() public method

public AddRange ( Array values ) : void
values System.Array
return void

Clear() public method

public Clear ( ) : void
return void

Contains() public method

public Contains ( object value ) : bool
value object
return bool

Contains() public method

public Contains ( string value ) : bool
value string
return bool

CopyTo() public method

public CopyTo ( Array array, int index ) : void
array System.Array
index int
return void

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

GetParameter() protected method

protected GetParameter ( int index ) : DbParameter
index int
return System.Data.Common.DbParameter

GetParameter() protected method

protected GetParameter ( string parameterName ) : DbParameter
parameterName string
return System.Data.Common.DbParameter

IndexOf() public method

public IndexOf ( object value ) : int
value object
return int

IndexOf() public method

public IndexOf ( string parameterName ) : int
parameterName string
return int

Insert() public method

public Insert ( int index, object value ) : void
index int
value object
return void

Remove() public method

public Remove ( object value ) : void
value object
return void

RemoveAt() public method

public RemoveAt ( int index ) : void
index int
return void

RemoveAt() public method

public RemoveAt ( string parameterName ) : void
parameterName string
return void

SetParameter() protected method

protected SetParameter ( int index, DbParameter value ) : void
index int
value System.Data.Common.DbParameter
return void

SetParameter() protected method

protected SetParameter ( string parameterName, DbParameter value ) : void
parameterName string
value System.Data.Common.DbParameter
return void

TestParameterCollection() public method

public TestParameterCollection ( ) : System
return System