Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
There are three type of CommandType enumeration in ADO.NET.
CommandType.Text The command will execute a direct SQL statement. The SQL statement is provided in the CommandText property. This is the default value.
CommandType.StoredProcedure The command will execute a stored procedure in the data source. The CommandText property provides the name of the stored procedure.
CommandType.TableDirect The command will query all the records in the table. The CommandText is the name of the table from which the command will retrieve the records.