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
ctorConstructorInfo
Returns
FromMethod(MethodBase)
The columns for a method's parameters, one per parameter.
public static ColumnInfo[] FromMethod(MethodBase method)
Parameters
methodMethodBase
Returns
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
parametersParameterInfo[]
Returns
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
parametersParameterInfo[]ctxNullabilityInfoContext
Returns
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
typeType