[]
Represents the data that is passed to the SetDataSourceLocator(IDbConnection, Action<LocateDataSourceArgs>) method.
public sealed class LocateDataSourceArgs
Name | Description |
---|---|
LocateDataSourceArgs(string, IReadOnlyList<DbParameter>) | Initializes a new instance of the LocateDataSourceArgs class. |
Name | Description |
---|---|
Data | Get the data set by SetData(object) method. |
HasTheDataBeenSet | Gets a sign indicating whether the data was set by SetData(object) method. |
Name | Gets the name of the requested data source. The meaning depends on the data provider type. |
Parameters | Gets the collection of the parameters of the command for which the data is requested. |
Name | Description |
---|---|
SetData(object) | Sets the requested data. It can be an object, stream, string or something else depending on the data provider. |