Click or drag to resize

OrmExtensionsExecute Method

Execute a command that does not return a value.

Namespace: SanteDB.OrmLite
Assembly: SanteDB.OrmLite (in SanteDB.OrmLite.dll) Version: 3.0.2081-alpha+d0a78774d3f97b9193d2ae2fef6d129ea9f29519
Syntax
public static void Execute(
	this IDbConnection me,
	string sql,
	params Object[] parameters
)

Parameters

me  IDbConnection
The connection to execute the command on.
sql  String
The statement to run in the command.
parameters  Object
Parameters for the statement that will be inserted into the statement.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDbConnection. 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).
See Also