DbProviderServices::CreateCommandDefinition Method (DbCommand^)

 

Creates a command definition that uses a specified command.

Namespace:   System.Data.Common
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public:
virtual DbCommandDefinition^ CreateCommandDefinition(
	DbCommand^ prototype
)

Parameters

prototype
Type: System.Data.Common::DbCommand^

The command used to create command definition.

Return Value

Type: System.Data.Common::DbCommandDefinition^

The created command definition that uses a specified command.

.NET Framework
Available since 3.5
Return to top
Show: