SemWeb : SemWeb Namespace
SelectPartialFilter

Indicates which fields of a statement are to be returned in a call to SemWeb.Store.Select.

SelectPartialFilter


Remarks
None.
Members

See Also: Inherited members from ValueType.

Constructors
Constructs a new SelectPartialFilter.
Fields
All
static readonly
SelectPartialFilter . A SelectPartialFilter which has all of its properties set to true
Properties
Meta [read-only]
bool . Whether the Meta field of statements should be filled in.
Object [read-only]
bool . Whether the Object field of statements should be filled in.
Predicate [read-only]
bool . Whether the Predicate field of statements should be filled in.
SelectAll [read-only]
bool . Returns whether the Subject, Predicate, Object, and Meta properties are all true.
SelectFirst
bool . Indicates whether only the first matching result in a Select call is needed.
SelectNone [read-only]
bool . Returns whether the Subject, Predicate, Object, and Meta properties are all false.
Subject [read-only]
bool . Whether the Subject field of statements should be filled in.
Member Details
SelectPartialFilter Constructor
public SelectPartialFilter (bool subject, bool predicate, bool object, bool meta)

Constructs a new SelectPartialFilter.

Parameters
subject
true to fill in the Subject field of statements, false to leave the field blank.
predicate
true to fill in the Predicate field of statements, false to leave the field blank.
object
true to fill in the Object field of statements, false to leave the field blank.
meta
true to fill in the Meta field of statements, false to leave the field blank.
Remarks
None.

All
public static readonly SelectPartialFilter All

A SelectPartialFilter which has all of its properties set to true

Remarks
This is the default filter used in Select calls without a SelectPartialFilter parameter.

Subject
public bool Subject { get; }

Whether the Subject field of statements should be filled in.

Value
true to fill in the Subject field of statements, false to leave the field blank.
Remarks
None.

Predicate
public bool Predicate { get; }

Whether the Predicate field of statements should be filled in.

Value
true to fill in the Predicate field of statements, false to leave the field blank.
Remarks
None.

Object
public bool Object { get; }

Whether the Object field of statements should be filled in.

Value
true to fill in the Object field of statements, false to leave the field blank.
Remarks
None.

Meta
public bool Meta { get; }

Whether the Meta field of statements should be filled in.

Value
true to fill in the Meta field of statements, false to leave the field blank.
Remarks
None.

SelectAll
public bool SelectAll { get; }

Returns whether the Subject, Predicate, Object, and Meta properties are all true.

Value
Returns whether the Subject, Predicate, Object, and Meta properties are all true.
Remarks
None.

SelectNone
public bool SelectNone { get; }

Returns whether the Subject, Predicate, Object, and Meta properties are all false.

Value
Returns whether the Subject, Predicate, Object, and Meta properties are all false.
Remarks
None.

SelectFirst
public bool SelectFirst { set; get; }

Indicates whether only the first matching result in a Select call is needed.

Value
true if only the first matching result in a Select call should be returned. false to return all matching statements.
Remarks
The default is false.