Joel.Net.DatabaseUtility.dll Class Library

DatabaseUtility.CommandType Property

Changes the default CommandType. Default CommandType is Text.

[Visual Basic]
Shared Public Property CommandType As CommandType
[C#]
public static CommandType CommandType { get; set; }
[C++]
public: static __property CommandType get_CommandType();
public: static __property void set_CommandType(CommandType );
[JScript]
public static function get CommandType() : CommandType
public static function set CommandType(CommandType);

Remarks

Set this property to change the default command type from Text to StoredProcedure or TableDirect.

See Also

DatabaseUtility Class | Joel.Net Namespace