Skip to content

IDbTypeConverter`2

Namespace: MJCZone.DapperMatic.Converters

Assembly: MJCZone.DapperMatic

Summary

Interface for a type of database type conversion.

abstract public

Note: This is an interface that defines a contract. Look for implementing classes in the same or related namespaces.

Contents

Methods (1)

Methods

TryConvert

Tries to convert an object of type <typeparamref name="TSource" /> to an object of type <typeparamref name="TTarget" />.

csharp
TryConvert(`0 source, `1 target)

Parameters

  • source (`0) - The object to convert from.
  • target (`1) - The converted object, if the conversion was successful.

Returns

True if the conversion was successful; otherwise, false.