DbCommandDefinition.CreateCommand Method ()

 

Creates and returns a DbCommand object that can be executed.

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

public virtual DbCommand CreateCommand()

Return Value

Type: System.Data.Common.DbCommand

The command for database.