private ODataExpression Convert(SimpleReference reference) { var formattedReference = reference.GetAliasOrName(); if (reference is ObjectReference) { formattedReference = string.Join(".", (reference as ObjectReference).GetAllObjectNames().Skip(1)); } return ODataDynamic.ExpressionFromReference(formattedReference); }
private ODataExpression Convert(SimpleReference reference) { var formattedReference = reference.GetAliasOrName(); if (reference is ObjectReference) { formattedReference = string.Join(".", (reference as ObjectReference).GetAllObjectNames().Skip(1)); } return(ODataDynamic.ExpressionFromReference(formattedReference)); }
private string FormatSelectItem(Table table, SimpleReference item) { return(table.FindColumn(item.GetAliasOrName()).ActualName); }
private string FormatSelectItem(Table table, SimpleReference item) { return table.FindColumn(item.GetAliasOrName()).ActualName; }