public static IBoundClient <Ntt_breathingspacedebt> ExpandDebt(this IBoundClient <Ntt_breathingspacedebt> debtQuery)
 {
     return(debtQuery
            .Expand(x => x.ntt_BreathingSpaceMoratoriumId)
            .Expand(x => x.ntt_debttypeid)
            .Expand(x => x.ntt_creditorid)
            .Expand(x => x.ntt_SoldToCreditorId)
            .Expand(x => x.ntt_breathingspacedebt_ntt_debteligibilityreview_DebtId));
 }
Ejemplo n.º 2
0
        public static IBoundClient <T> Include <T>(this IBoundClient <T> client, ODataExpandOptions includeOptions, params string[] associations)
            where T : class
        {
            if (client == null)
            {
                throw new ArgumentNullException(nameof(client));
            }

            return(client.Expand(expandOptions: includeOptions, associations: associations));
        }
Ejemplo n.º 3
0
        public static IBoundClient <T> Include <T>(this IBoundClient <T> client, IEnumerable <string> associations)
            where T : class
        {
            if (client == null)
            {
                throw new ArgumentNullException(nameof(client));
            }

            return(client.Expand(associations: associations));
        }
Ejemplo n.º 4
0
        public static IBoundClient <T> Include <T>(this IBoundClient <T> client, Expression <Func <T, object> > expression)
            where T : class
        {
            if (client == null)
            {
                throw new ArgumentNullException(nameof(client));
            }

            return(client.Expand(expression: expression));
        }
Ejemplo n.º 5
0
        public static IBoundClient <T> Include <T>(this IBoundClient <T> client, params ODataExpression[] associations)
            where T : class
        {
            if (client == null)
            {
                throw new ArgumentNullException(nameof(client));
            }

            return(client.Expand(associations: associations));
        }
Ejemplo n.º 6
0
 public ODataSet <T> Include(Expression <Func <T, object> > expression)
 {
     bounder = bounder.Expand(expression);
     return(this);
 }