Show / Hide Table of Contents

Class DbTypeConverter

Provides methods to convert between .NET types and DbTypes.

Inheritance
System.Object
DbTypeConverter
Namespace: Paradigm.ORM.Data.Converters
Assembly: Paradigm.ORM.Data.dll
Syntax
public static class DbTypeConverter : object

Methods

| Improve this Doc View Source

FromDbType(DbType)

Converts from a dbtype to a .net type.

Declaration
public static Type FromDbType(DbType type)
Parameters
Type Name Description
DbType type

The db type.

Returns
Type Description
Type

A .net type equivalent to the db type.

| Improve this Doc View Source

FromType(Type)

Converts from a type to a db type.

Declaration
public static DbType FromType(Type type)
Parameters
Type Name Description
Type type

The type.

Returns
Type Description
DbType

A dbtype equivalent to the type provided.

  • Improve this Doc
  • View Source
Powered by MiracleDevs ©2017. Code licensed under the MIT License.
Documentation generated by DocFX.