Show / Hide Table of Contents

Interface IDbStringTypeConverter

Provides an interface to convert from database types or database schema tables to .net types.

Namespace: Paradigm.ORM.Data.Converters
Assembly: Paradigm.ORM.Data.dll
Syntax
public interface IDbStringTypeConverter

Methods

| Improve this Doc View Source

GetDbStringType(Type)

Gets the equivalent database type from a .net type.

Declaration
string GetDbStringType(Type type)
Parameters
Type Name Description
Type type

The .net type.

Returns
Type Description
System.String

The equivalent database type.

| Improve this Doc View Source

GetType(IColumn)

Gets the equivalent .net type from a column schema.

Declaration
Type GetType(IColumn column)
Parameters
Type Name Description
IColumn column

The column schema.

Returns
Type Description
Type

The equivalent .net type.

| Improve this Doc View Source

GetType(IParameter)

Gets the equivalent .net type from a parameter schema.

Declaration
Type GetType(IParameter parameter)
Parameters
Type Name Description
IParameter parameter

The parameter schema.

Returns
Type Description
Type

The equivalent .net type.

| Improve this Doc View Source

GetType(String, Boolean)

Gets the equivalent .net type from a database type.

Declaration
Type GetType(string dbType, bool isNullable = false)
Parameters
Type Name Description
System.String dbType

A database type.

System.Boolean isNullable

True if the value is nullable; false otherwise.

Returns
Type Description
Type

The equivalent .net type.

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.