DbCommandDefinition.CreateCommand Method ()

 

Creates and returns a DbCommand object that can be executed.

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

public virtual DbCommand CreateCommand()

Return Value

Type: System.Data.Common.DbCommand

The command for database.

.NET Framework
Available since 3.5
Return to top
Show: