protected override bool IsStoredProcedureCall(string commandText)
{
if (commandText == null)
{
throw new ArgumentNullException("commandText");
}
return this.SupportsStoredProcedures
&& commandText.IndexOf("FROM", StringComparison.OrdinalIgnoreCase) == -1
&& commandText.StartsWith(this.SqlCharacters.StoredProcedureInvocationCommand, StringComparison.OrdinalIgnoreCase)
&& !commandText.Contains(this.SqlCharacters.StatementSeparator);
}