Table of Contents

Class SchemaExtractor

Namespace
Rinku
Assembly
Rinku.dll

Describes the columns mapped by a type, constructor, or method. Use it when the generic TypeSchema<T> form does not fit.

public static class SchemaExtractor
Inheritance
SchemaExtractor
Inherited Members

Methods

FromConstructor(ConstructorInfo)

The columns for a constructor's parameters, one per parameter.

public static ColumnInfo[] FromConstructor(ConstructorInfo ctor)

Parameters

ctor ConstructorInfo

Returns

ColumnInfo[]

FromMethod(MethodBase)

The columns for a method's parameters, one per parameter.

public static ColumnInfo[] FromMethod(MethodBase method)

Parameters

method MethodBase

Returns

ColumnInfo[]

FromParameters(ParameterInfo[])

The columns for a set of parameters, one per parameter, taking its bound name and nullability.

public static ColumnInfo[] FromParameters(ParameterInfo[] parameters)

Parameters

parameters ParameterInfo[]

Returns

ColumnInfo[]

FromParameters(ParameterInfo[], NullabilityInfoContext)

The columns for a set of parameters, one per parameter, taking its bound name and nullability.

public static ColumnInfo[] FromParameters(ParameterInfo[] parameters, NullabilityInfoContext ctx)

Parameters

parameters ParameterInfo[]
ctx NullabilityInfoContext

Returns

ColumnInfo[]

FromType(Type)

The columns of type, taken from its longest constructor when it has one, otherwise its public properties and fields.

public static ColumnInfo[] FromType(Type type)

Parameters

type Type

Returns

ColumnInfo[]