C# Class Koralium.SqlToExpression.Models.SqlTypeInfo

Helper class that remembers the property names between stages Required in for instance GroupBy where the property names are lost when using a tuple.
显示文件 Open project: koralium/Koralium

Public Methods

Method Description
GetProperties ( ) : PropertyInfo>>.IEnumerable
NewBuilder ( ) : Builder
TryGetOriginalProperty ( string name, PropertyInfo &propertyInfo ) : bool
TryGetProperty ( string name, PropertyInfo &propertyInfo ) : bool

Private Methods

Method Description
SqlTypeInfo ( Dictionary properties, Dictionary originalProperties ) : System

Method Details

GetProperties() public method

public GetProperties ( ) : PropertyInfo>>.IEnumerable
return PropertyInfo>>.IEnumerable

NewBuilder() public static method

public static NewBuilder ( ) : Builder
return Builder

TryGetOriginalProperty() public method

public TryGetOriginalProperty ( string name, PropertyInfo &propertyInfo ) : bool
name string
propertyInfo PropertyInfo
return bool

TryGetProperty() public method

public TryGetProperty ( string name, PropertyInfo &propertyInfo ) : bool
name string
propertyInfo PropertyInfo
return bool