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);
 }
Exemple #2
0
        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));
        }
Exemple #3
0
 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;
 }