AdapterCollectionBaseTTryCreateAdapter Method

Attempts to create an IAdapter from the specified DataRow.

Definition

Namespace: Gemstone.Timeseries.Adapters
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.147 -- Release Build+281cd9d48f79fa48c22e33d1c46c4d7bdd95f1cf
public virtual bool TryCreateAdapter(
	DataRow adapterRow,
	out T adapter
)

Parameters

adapterRow  DataRow
DataRow containing item information to initialize.
adapter  T
Initialized adapter if successful; otherwise null.

Return Value

Boolean
true if item was successfully initialized; otherwise false.

Remarks

See DataSource property for expected DataRow column names.

Exceptions

NullReferenceExceptionadapterRow is null.

See Also