Class TypeUtilities
Utility methods for mapping .NET types to Data API column type descriptors.
public class TypeUtilities
- Inheritance
-
TypeUtilities
- Inherited Members
Methods
GetDataAPIType(Type)
Returns the DataAPIType that corresponds to the given .NET type,
unwrapping Nullable<T> if necessary.
public static DataAPIType GetDataAPIType(Type propertyType)
Parameters
propertyTypeType
Returns
GetDataAPITypeFromUnderlyingType(Type)
Returns the DataAPIType that corresponds to the given non-nullable .NET type.
public static DataAPIType GetDataAPITypeFromUnderlyingType(Type propertyType)
Parameters
propertyTypeType