Show / Hide Table of Contents

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 Source

GetMaxValue(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.

| Improve this Doc View Source

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.

Extension Methods

ObjectExtensions.ThrowIfFails<TException>(Object, Action, String)
ObjectExtensions.ThrowIfFails<TException, TResult>(Object, Func<TResult>, String)
ObjectExtensions.ThrowIfFailsAsync<TException>(Object, Func<Task>, String)
ObjectExtensions.ThrowIfFailsAsync<TException, TResult>(Object, Func<Task<TResult>>, String)
  • Improve this Doc
  • View Source
Powered by MiracleDevs ©2017. Code licensed under the MIT License.
Documentation generated by DocFX.