C# Класс Habanero.Base.FunctionQueryField

Abstract base class for Function Query Fields. The idea is that derivatives need to do as little of the heavy lifting as possible
Наследование: QueryField, ISelfFormattingField
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
_functionName string
_parameters object[]

Открытые методы

Метод Описание
FunctionQueryField ( string functionName ) : System

Abstract constructor: you should only be interested if you're deriving from this class

GetFormattedStringWith ( ISqlFormatter formatter, string>.IDictionary aliases ) : string

Приватные методы

Метод Описание
AddParametersTo ( List parts, ISqlFormatter formatter, string>.IDictionary aliases ) : void
AddQueryFieldParameter ( object parameter, List parts, ISqlFormatter formatter, string>.IDictionary aliases ) : bool
AddStringParameter ( object parameter, List parts, ISqlFormatter formatter ) : bool
GetFieldNameFrom ( object parameters ) : string
GetPropertyNameFor ( string functionName ) : string
QuoteSource ( Source source, ISqlFormatter withFormatter, string>.IDictionary aliases ) : string

Описание методов

FunctionQueryField() публичный Метод

Abstract constructor: you should only be interested if you're deriving from this class
Will throw argument exception if the function name is not supplied
public FunctionQueryField ( string functionName ) : System
functionName string Name of the function to call in the output SQL
Результат System

GetFormattedStringWith() публичный Метод

public GetFormattedStringWith ( ISqlFormatter formatter, string>.IDictionary aliases ) : string
formatter ISqlFormatter
aliases string>.IDictionary
Результат string

Описание свойств

_functionName защищенное свойство

protected string _functionName
Результат string

_parameters защищенное свойство

protected object[] _parameters
Результат object[]