HanaParameterCollection class

Represents all parameters to a HanaCommand object and, optionally, their mapping to a DataSet column.

Members

All members of HanaParameterCollection, including inherited members.

Methods
Modifier and Type Method Description
public HanaParameter Add Adds a HanaParameter object to this collection.
public override void AddRange Adds an array of values to the end of the HanaParameterCollection.
public HanaParameter AddWithValue(string, object) Adds a value to the end of this collection.
public override void Clear() Removes all items from the collection.
public override bool Contains Indicates whether a HanaParameter object exists in the collection.
public override void CopyTo(Array, int) Copies HanaParameter objects from the HanaParameterCollection to the specified array.
public override IEnumerator GetEnumerator() Returns an enumerator that iterates through the HanaParameterCollection.
protected override DbParameter GetParameter Returns a parameter from the HanaParameterCollection object.
public override int IndexOf Returns the location of the HanaParameter object in the collection.
public override void Insert(int, object) Inserts a HanaParameter object in the collection at the specified index.
public override void Remove(object) Removes the specified HanaParameter object from the collection.
public override void RemoveAt Removes the specified HanaParameter object from the collection.
protected override void SetParameter Sets a parameter in the HanaParameterCollection object.
Properties
Modifier and Type Property Description
public override int Count Returns the number of HanaParameter objects in the collection.
public override bool IsFixedSize Gets a value that indicates whether the HanaParameterCollection has a fixed size.
public override bool IsReadOnly Gets a value that indicates whether the HanaParameterCollection is read-only.
public override bool IsSynchronized Gets a value that indicates whether the HanaParameterCollection object is synchronized.
public override object SyncRoot Gets an object that can be used to synchronize access to the HanaParameterCollection.
public new HanaParameter this Gets and sets the HanaParameter object at the specified index.

Remarks

There is no constructor for HanaParameterCollection. You obtain a HanaParameterCollection object from the HanaCommand.Parameters property of a HanaCommand object.