src/Shared/EntityFramework/Core/EntityClient/Internal/EntityProviderServices.cs
// <summary>
// Create a EntityCommandDefinition object based on the prototype command
// This method is intended for provider writers to build a default command definition
// from a command.
// </summary>
// <exception cref="ArgumentNullException">prototype argument must not be null</exception>
// <exception cref="InvalidCastException">prototype argument must be a EntityCommand</exception>
Create a EntityCommandDefinition object based on the prototype command
This method is intended for provider writers to build a default command definition
from a command.
Create a EntityCommandDefinition object based on the prototype command This method is intended for provider writers to build a default command definition from a command .
public override DbCommandDefinition CreateCommandDefinition(DbCommand prototype)
        {
            Check.NotNull(prototype, "prototype");
            return ((EntityCommand)prototype).GetCommandDefinition();
        }
public override DbCommandDefinition CreateCommandDefinition ( DbCommand prototype ) { Check . NotNull ( prototype , " " ) ; return ( ( EntityCommand ) prototype ) . GetCommandDefinition ( ) ; }
Create a EntityCommandDefinition object based on the prototype command
This method is intended for provider writers to build a default command definition
from a command.
Create a EntityCommandDefinition object based on the prototype command This method is intended for provider writers to build a default command definition from a command .
prototype argument must not be null
prototype argument must not be null
prototype argument must be a EntityCommand
prototype argument must be a EntityCommand
prototype
DbCommand