TableOperationsTGetNonPrimaryFieldRecordRestriction Method

Gets a record restriction based on the non-primary key values of the specified record.

Definition

Namespace: Gemstone.Data.Model
Assembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.137 -- Release Build+bf396311d630d9a0959afedb17412b40a2acb327
public RecordRestriction GetNonPrimaryFieldRecordRestriction(
	T record
)

Parameters

record  T
Record to retrieve non-primary key field values from.

Return Value

RecordRestriction
Record restriction based on the non-primary key values of the specified record.

Remarks

This will look up a newly added record when the primary key values are not yet defined searching all field values. If all fields do not represent a unique record, queries based on this restriction will return multiple records. Note that if the modeled table has fields that are known be unique, searching based on those fields is preferred.

See Also