Click or drag to resize

DataSourceExtensionsExecute Method

Executes one command on the data source

Namespace:  Aloe.SystemFrameworks.Domain.DataAccess
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public static void Execute(
	this IDataSource dataSource,
	DataSourceCommand command
)

Parameters

dataSource
Type: Aloe.SystemFrameworks.Domain.DataAccessIDataSource
The data source on which to execute the command
command
Type: Aloe.SystemFrameworks.Domain.DataAccessDataSourceCommand
The command to execute

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDataSource. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullExceptiondataSource
See Also