Class DataParameterCollection
Inheritance
System.Object
DataParameterCollection
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
System.ICloneable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: FChoice.Common.dll
Syntax
public class DataParameterCollection : IList, ICollection, IEnumerable, ICloneable
Constructors
DataParameterCollection()
Declaration
public DataParameterCollection()
DataParameterCollection(DbProvider)
Declaration
public DataParameterCollection(DbProvider accessProvider)
Parameters
DataParameterCollection(IDbDataParameter[])
Declaration
public DataParameterCollection(IDbDataParameter[] parameters)
Parameters
Type |
Name |
Description |
System.Data.IDbDataParameter[] |
parameters |
|
DataParameterCollection(Int32)
Declaration
public DataParameterCollection(int capacity)
Parameters
Type |
Name |
Description |
System.Int32 |
capacity |
|
Properties
Count
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
IsFixedSize
Declaration
public bool IsFixedSize { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsSynchronized
Declaration
public bool IsSynchronized { get; }
Property Value
Type |
Description |
System.Boolean |
|
Item[Int32]
Declaration
public IDbDataParameter this[int index] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
Type |
Description |
System.Data.IDbDataParameter |
|
Item[String]
Declaration
public IDbDataParameter this[string name] { get; }
Parameters
Type |
Name |
Description |
System.String |
name |
|
Property Value
Type |
Description |
System.Data.IDbDataParameter |
|
Parameters
Declaration
public ICollection Parameters { get; }
Property Value
Type |
Description |
System.Collections.ICollection |
|
SyncRoot
Declaration
public object SyncRoot { get; }
Property Value
Type |
Description |
System.Object |
|
Methods
Add(String, IDbDataParameter)
Declaration
public int Add(string name, IDbDataParameter param)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Data.IDbDataParameter |
param |
|
Returns
Type |
Description |
System.Int32 |
|
Add(String, Object)
Declaration
public int Add(string name, object value)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Object |
value |
|
Returns
Type |
Description |
System.Int32 |
|
Add(String, Object, IDbDataParameter)
Declaration
public int Add(string name, object value, IDbDataParameter parameterTemplate)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Object |
value |
|
System.Data.IDbDataParameter |
parameterTemplate |
|
Returns
Type |
Description |
System.Int32 |
|
Add(String, Object, ParameterDirection)
Declaration
public int Add(string name, object value, ParameterDirection direction)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Object |
value |
|
System.Data.ParameterDirection |
direction |
|
Returns
Type |
Description |
System.Int32 |
|
Clear()
Declaration
Clone()
Declaration
public DataParameterCollection Clone()
Returns
Contains(Object)
Declaration
public bool Contains(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.Boolean |
|
CopyTo(DataParameterCollection)
Declaration
public void CopyTo(DataParameterCollection otherCol)
Parameters
CopyTo(Array, Int32)
Declaration
public void CopyTo(Array array, int index)
Parameters
Type |
Name |
Description |
System.Array |
array |
|
System.Int32 |
index |
|
DeepClone()
Declaration
public DataParameterCollection DeepClone()
Returns
GetEnumerator()
Declaration
public IEnumerator GetEnumerator()
Returns
Type |
Description |
System.Collections.IEnumerator |
|
IndexOf(Object)
Declaration
public int IndexOf(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.Int32 |
|
Insert(Int32, Object)
Declaration
public void Insert(int index, object value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Object |
value |
|
Remove(IDbDataParameter)
Declaration
public void Remove(IDbDataParameter param)
Parameters
Type |
Name |
Description |
System.Data.IDbDataParameter |
param |
|
Remove(Object)
Declaration
public void Remove(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Remove(String)
Declaration
public void Remove(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
RemoveAt(Int32)
Declaration
public void RemoveAt(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Explicit Interface Implementations
IList.Add(Object)
Declaration
int IList.Add(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.Int32 |
|
IList.get_Item(Int32)
Declaration
object IList.get_Item(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.Object |
|
IList.Item[Int32]
Declaration
object IList.this[] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.Object |
|
IList.set_Item(Int32, Object)
Declaration
void IList.set_Item(int index, object value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Object |
value |
|
ICloneable.Clone()
Declaration
object ICloneable.Clone()
Returns
Type |
Description |
System.Object |
|
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
System.ICloneable