public Task UnlinkEntryAsync <U>(Expression <Func <T, U> > expression, U linkedEntryKey, CancellationToken cancellationToken) { return(_client.UnlinkEntryAsync(_command, ColumnExpression.ExtractColumnName(expression), linkedEntryKey != null ? linkedEntryKey.ToDictionary() : null, cancellationToken)); }
public Task UnlinkEntryAsync <U>(Expression <Func <T, U> > expression, CancellationToken cancellationToken) { return(_client.UnlinkEntryAsync(_command, ColumnExpression.ExtractColumnName(expression), null, cancellationToken)); }
public Task LinkEntryAsync <U>(Expression <Func <T, U> > expression, U linkedEntryKey, CancellationToken cancellationToken) { return(_client.LinkEntryAsync(_command, ColumnExpression.ExtractColumnName(expression, _session.TypeCache), linkedEntryKey.ToDictionary(_session.TypeCache), cancellationToken)); }
public FT WithProperties(Expression <Func <T, IDictionary <string, object> > > expression) { this.Command.WithProperties(ColumnExpression.ExtractColumnName(expression)); return(this as FT); }
/// <summary> /// Navigates to the linked entity. /// </summary> /// <typeparam name="U">The type of the linked entity.</typeparam> /// <param name="expression">The expression for the link.</param> /// <returns>Self.</returns> public IBoundClient <U> NavigateTo <U>(Expression <Func <T, U[]> > expression) where U : class { return(this.Link <U>(this.Command, ColumnExpression.ExtractColumnName(expression))); }
public IMediaClient Media(Expression <Func <T, object> > expression) { this.Command.Media(ColumnExpression.ExtractColumnName(expression)); return(new MediaClient(_client, _session, this.Command, _dynamicResults)); }