Habanero.Base.QueryField.GetFormattedStringWith C# (CSharp) Method

GetFormattedStringWith() public method

Gets the formatted string for this field to be used in queries
public GetFormattedStringWith ( ISqlFormatter formatter, string>.IDictionary aliases ) : string
formatter ISqlFormatter An ISqlFormatter to format with
aliases string>.IDictionary The dictionary of aliases within the context to be formatted for
return string
        public virtual string GetFormattedStringWith(ISqlFormatter formatter, IDictionary<string, string> aliases)
        {
            return String.Format("{0}{1}",
                            Source != null ? aliases[Source.ToString()] + "." : "",
                            formatter.DelimitField(FieldName));
        }
    }