Method GetDataTypeNames
- Namespace
- Open.Database.Extensions
- Assembly
- Open.Database.Extensions.Core.dll
GetDataTypeNames(IDataRecord)
Gets the provider's data type name of every column of the current result set, in ordinal order.
public static string[] GetDataTypeNames(this IDataRecord record)
Parameters
recordIDataRecordThe record to get the data type names from.
Returns
- string[]
An array of data type names, such as
nvarcharfor SQL Server.
Exceptions
- ArgumentNullException
recordis null.