DataExtensionsPopulateParameters(SqlCommand, Object) Method

Takes the SqlCommand object and populates it with the given parameters.

Definition

Namespace: Gemstone.Data.DataExtensions
Assembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.177 -- Release Build+d96749616716c7e31d7afb14792fd635b01e16cd
public static void PopulateParameters(
	this SqlCommand command,
	Object?[] parameters
)

Parameters

command  SqlCommand
The SqlCommand whose parameters are to be populated.
parameters  Object
The parameter values to populate the SqlCommand parameters with.

Usage Note

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