Interface IDbTypeValueRangeProvider
Provides an interface to retrieve data type value minimum and maximums.
Namespace: Paradigm.ORM.Data.Database
Assembly: Paradigm.ORM.Data.dll
Syntax
public interface IDbTypeValueRangeProvider
Methods
| Improve this Doc View SourceGetMaxValue(String)
Gets the maximum value for a given sql type.
Declaration
object GetMaxValue(string dataType)
Parameters
Type | Name | Description |
---|---|---|
System.String | dataType | Name of the sql type. |
Returns
Type | Description |
---|---|
System.Object | The maximum value possible for a given type; otherwise null. |
Remarks
The expected types may vary between database implementations.
GetMinValue(String)
Gets the minimum value for a given sql type.
Declaration
object GetMinValue(string dataType)
Parameters
Type | Name | Description |
---|---|---|
System.String | dataType | Name of the sql type. |
Returns
Type | Description |
---|---|
System.Object | The minimum value possible for a given type; otherwise null. |
Remarks
The expected types may vary between database implementations.