NSFetchRequestExpression.FromFetch Method

Definition

Creates a new NSFetchRequestExpression from the specified expression and context.

[Foundation.Export("expressionForFetch:context:countOnly:")]
public static CoreData.NSFetchRequestExpression FromFetch (Foundation.NSExpression fetch, Foundation.NSExpression context, bool countOnly);
static member FromFetch : Foundation.NSExpression * Foundation.NSExpression * bool -> CoreData.NSFetchRequestExpression

Parameters

fetch
NSExpression

The expression from which to create a new fetch request expresssion.

context
NSExpression

The context in which to create the fetch request expression.

countOnly
Boolean

Whether to create a fetch request expression that counts the matches, rather than returning them.

Returns

A new NSFetchRequestExpression that was created from the specified expression and context.

Attributes

Applies to