[]
Gets the state of the connection to the source, or Connected if the collection doesn't implement the ISupportConnection interface.
public static ConnectionState GetConnectionState<T>(this IDataCollection<T> dataCollection) where T : class?
Type | Name | Description |
---|---|---|
IDataCollection<T> | dataCollection | The data collection. |
Type | Description |
---|---|
ConnectionState |
Name | Description |
---|---|
T |