FakeDbParameterCollection FakeDbParameterCollection Class

Definition

public class FakeDbParameterCollection : DbParameterCollection, IDataParameterCollection, IList, ICollection, IEnumerable
Public Class FakeDbParameterCollection
    Inherits DbParameterCollection
    Implements IDataParameterCollection, IList, ICollection, IEnumerable
Inheritance
System.ObjectSystem.Object
System.MarshalByRefObjectSystem.MarshalByRefObject
System.Data.Common.DbParameterCollectionSystem.Data.Common.DbParameterCollection
FakeDbParameterCollectionFakeDbParameterCollection
Implements
System.Data.IDataParameterCollectionSystem.Data.IDataParameterCollection System.Collections.IListSystem.Collections.IList System.Collections.ICollectionSystem.Collections.ICollection System.Collections.IEnumerableSystem.Collections.IEnumerable

Properties

Count Count

public override int Count { get; }
Public Overrides ReadOnly Property Count As Integer
Value
System.Int32 System.Int32
Overrides
System.Data.Common.DbParameterCollection.CountSystem.Data.Common.DbParameterCollection.Count

IsFixedSize IsFixedSize

public override bool IsFixedSize { get; }
Public Overrides ReadOnly Property IsFixedSize As Boolean
Value
System.Boolean System.Boolean
Overrides
System.Data.Common.DbParameterCollection.IsFixedSizeSystem.Data.Common.DbParameterCollection.IsFixedSize

IsReadOnly IsReadOnly

public override bool IsReadOnly { get; }
Public Overrides ReadOnly Property IsReadOnly As Boolean
Value
System.Boolean System.Boolean
Overrides
System.Data.Common.DbParameterCollection.IsReadOnlySystem.Data.Common.DbParameterCollection.IsReadOnly

IsSynchronized IsSynchronized

public override bool IsSynchronized { get; }
Public Overrides ReadOnly Property IsSynchronized As Boolean
Value
System.Boolean System.Boolean
Overrides
System.Data.Common.DbParameterCollection.IsSynchronizedSystem.Data.Common.DbParameterCollection.IsSynchronized

SyncRoot SyncRoot

public override object SyncRoot { get; }
Public Overrides ReadOnly Property SyncRoot As Object
Value
System.Object System.Object
Overrides
System.Data.Common.DbParameterCollection.SyncRootSystem.Data.Common.DbParameterCollection.SyncRoot

Methods

Add(Object) Add(Object)

public override int Add(object value)
Public Overrides Function Add(value As Object) As Integer
Parameters
value
System.Object System.Object
Returns
System.Int32 System.Int32
Overrides
System.Data.Common.DbParameterCollection.Add(System.Object)System.Data.Common.DbParameterCollection.Add(System.Object)

AddRange(Array) AddRange(Array)

public override void AddRange(Array values)
Public Overrides Sub AddRange(values As Array)
Parameters
values
System.Array System.Array
Overrides
System.Data.Common.DbParameterCollection.AddRange(System.Array)System.Data.Common.DbParameterCollection.AddRange(System.Array)

Clear() Clear()

public override void Clear()
Public Overrides Sub Clear
Overrides
System.Data.Common.DbParameterCollection.Clear()System.Data.Common.DbParameterCollection.Clear()

Contains(Object) Contains(Object)

public override bool Contains(object value)
Public Overrides Function Contains(value As Object) As Boolean
Parameters
value
System.Object System.Object
Returns
System.Boolean System.Boolean
Overrides
System.Data.Common.DbParameterCollection.Contains(System.Object)System.Data.Common.DbParameterCollection.Contains(System.Object)

Contains(String) Contains(String)

public override bool Contains(string value)
Public Overrides Function Contains(value As String) As Boolean
Parameters
value
System.String System.String
Returns
System.Boolean System.Boolean
Overrides
System.Data.Common.DbParameterCollection.Contains(System.String)System.Data.Common.DbParameterCollection.Contains(System.String)

CopyTo(Array, Int32) CopyTo(Array, Int32)

public override void CopyTo(Array array, int index)
Public Overrides Sub CopyTo(array As Array, index As Integer)
Parameters
array
System.Array System.Array
index
System.Int32 System.Int32
Overrides
System.Data.Common.DbParameterCollection.CopyTo(System.Array, System.Int32)System.Data.Common.DbParameterCollection.CopyTo(System.Array, System.Int32)

CreateObjRef(Type) CreateObjRef(Type)

Inherited from System.MarshalByRefObject

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetEnumerator() GetEnumerator()

public override IEnumerator GetEnumerator()
Public Overrides Function GetEnumerator As IEnumerator
Returns
System.Collections.IEnumerator System.Collections.IEnumerator
Overrides
System.Data.Common.DbParameterCollection.GetEnumerator()System.Data.Common.DbParameterCollection.GetEnumerator()

GetHashCode() GetHashCode()

Inherited from System.Object

GetLifetimeService() GetLifetimeService()

Inherited from System.MarshalByRefObject

GetParameter(Int32) GetParameter(Int32)

protected override DbParameter GetParameter(int index)
Protected Overrides Function GetParameter(index As Integer) As DbParameter
Parameters
index
System.Int32 System.Int32
Returns
System.Data.Common.DbParameter System.Data.Common.DbParameter
Overrides
System.Data.Common.DbParameterCollection.GetParameter(System.Int32)System.Data.Common.DbParameterCollection.GetParameter(System.Int32)

GetParameter(String) GetParameter(String)

protected override DbParameter GetParameter(string parameterName)
Protected Overrides Function GetParameter(parameterName As String) As DbParameter
Parameters
parameterName
System.String System.String
Returns
System.Data.Common.DbParameter System.Data.Common.DbParameter
Overrides
System.Data.Common.DbParameterCollection.GetParameter(System.String)System.Data.Common.DbParameterCollection.GetParameter(System.String)

GetType() GetType()

Inherited from System.Object

IDataParameterCollection.Item[String] System.Data.IDataParameterCollection.Item(String)

Inherited from System.Data.Common.DbParameterCollection

IDataParameterCollection.get_Item(String) System.Data.IDataParameterCollection.get_Item(String)

Inherited from System.Data.Common.DbParameterCollection

IDataParameterCollection.set_Item(String, Object) System.Data.IDataParameterCollection.set_Item(String, Object)

Inherited from System.Data.Common.DbParameterCollection

IList.Item[Int32] System.Collections.IList.Item(Int32)

Inherited from System.Data.Common.DbParameterCollection

IList.get_Item(Int32) System.Collections.IList.get_Item(Int32)

Inherited from System.Data.Common.DbParameterCollection

IList.set_Item(Int32, Object) System.Collections.IList.set_Item(Int32, Object)

Inherited from System.Data.Common.DbParameterCollection

IndexOf(Object) IndexOf(Object)

public override int IndexOf(object value)
Public Overrides Function IndexOf(value As Object) As Integer
Parameters
value
System.Object System.Object
Returns
System.Int32 System.Int32
Overrides
System.Data.Common.DbParameterCollection.IndexOf(System.Object)System.Data.Common.DbParameterCollection.IndexOf(System.Object)

IndexOf(String) IndexOf(String)

public override int IndexOf(string parameterName)
Public Overrides Function IndexOf(parameterName As String) As Integer
Parameters
parameterName
System.String System.String
Returns
System.Int32 System.Int32
Overrides
System.Data.Common.DbParameterCollection.IndexOf(System.String)System.Data.Common.DbParameterCollection.IndexOf(System.String)

InitializeLifetimeService() InitializeLifetimeService()

Inherited from System.MarshalByRefObject

Insert(Int32, Object) Insert(Int32, Object)

public override void Insert(int index, object value)
Public Overrides Sub Insert(index As Integer, value As Object)
Parameters
index
System.Int32 System.Int32
value
System.Object System.Object
Overrides
System.Data.Common.DbParameterCollection.Insert(System.Int32, System.Object)System.Data.Common.DbParameterCollection.Insert(System.Int32, System.Object)

Item[Int32] Item(Int32)

Inherited from System.Data.Common.DbParameterCollection

Item[String] Item(String)

Inherited from System.Data.Common.DbParameterCollection

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

MemberwiseClone(Boolean) MemberwiseClone(Boolean)

Inherited from System.MarshalByRefObject

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

Remove(Object) Remove(Object)

public override void Remove(object value)
Public Overrides Sub Remove(value As Object)
Parameters
value
System.Object System.Object
Overrides
System.Data.Common.DbParameterCollection.Remove(System.Object)System.Data.Common.DbParameterCollection.Remove(System.Object)

RemoveAt(Int32) RemoveAt(Int32)

public override void RemoveAt(int index)
Public Overrides Sub RemoveAt(index As Integer)
Parameters
index
System.Int32 System.Int32
Overrides
System.Data.Common.DbParameterCollection.RemoveAt(System.Int32)System.Data.Common.DbParameterCollection.RemoveAt(System.Int32)

RemoveAt(String) RemoveAt(String)

public override void RemoveAt(string parameterName)
Public Overrides Sub RemoveAt(parameterName As String)
Parameters
parameterName
System.String System.String
Overrides
System.Data.Common.DbParameterCollection.RemoveAt(System.String)System.Data.Common.DbParameterCollection.RemoveAt(System.String)

SetParameter(Int32, DbParameter) SetParameter(Int32, DbParameter)

protected override void SetParameter(int index, DbParameter value)
Protected Overrides Sub SetParameter(index As Integer, value As DbParameter)
Parameters
index
System.Int32 System.Int32
value
System.Data.Common.DbParameter System.Data.Common.DbParameter
Overrides
System.Data.Common.DbParameterCollection.SetParameter(System.Int32, System.Data.Common.DbParameter)System.Data.Common.DbParameterCollection.SetParameter(System.Int32, System.Data.Common.DbParameter)

SetParameter(String, DbParameter) SetParameter(String, DbParameter)

protected override void SetParameter(string parameterName, DbParameter value)
Protected Overrides Sub SetParameter(parameterName As String, value As DbParameter)
Parameters
parameterName
System.String System.String
value
System.Data.Common.DbParameter System.Data.Common.DbParameter
Overrides
System.Data.Common.DbParameterCollection.SetParameter(System.String, System.Data.Common.DbParameter)System.Data.Common.DbParameterCollection.SetParameter(System.String, System.Data.Common.DbParameter)

ToString() ToString()

Inherited from System.Object