Search notes:

System.Data.CommandType (enum)

The System.Data.CommandType enum identfies the type of a System.Data.Common.DbCommand instance. The enum has three values:

Anonymous blocks in Oracle

As I found out the hard way, in order to execute an (anonymous) block, the CommandType must not be set to StoredProcedure!

See also

Although similarly named, CommandType has nothing to do with System.Data.CommandType

Index