Gets the DbType value that is equivalent to the CLR type of the current Parameter instance.
public System.Data.DbType GetDatabaseType ();
member this.GetDatabaseType : unit -> System.Data.DbType
Public Function GetDatabaseType () As DbType
The DbType value that is equivalent to the CLR type of the current Parameter instance.
The DbType property is already set to a value other than Object.
The DbType property must not already have been set, or must be set to Object. This method is intended for use only when the CLR type is set but the DbType property is not.