CommonExtensions class

Useful extension methods for EasyQuery's types

public static class Korzh.EasyQuery.CommonExtensions

Package: Korzh.EasyQuery (targets: netstandard2.0)

Assembly: Korzh.EasyQuery.dll

Static Methods

Name Type Description
IntToDataKind(this int value) DataKind Returns DataKind by its numeric representation.
IntToDataType(this int value) DataType Returns DataType by its numeric representation.
StrToDataType(this string typeName) DataType Returns DataType value by its string representation
ToInt(this DataType dt) int Returns a numeric representation of a DataType value.
ToInt(this DataKind dk) int Returns a numeric representation of a DataType value.