TableOperationsTGetNonPrimaryFieldRecordRestriction Method
Gets a record restriction based on the non-primary key values of the specified record.
Namespace: Gemstone.Data.ModelAssembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.137 -- Release Build+bf396311d630d9a0959afedb17412b40a2acb327
Public Function GetNonPrimaryFieldRecordRestriction (
record As T
) As RecordRestriction
function GetNonPrimaryFieldRecordRestriction(record);
- record T
- Record to retrieve non-primary key field values from.
RecordRestrictionRecord restriction based on the non-primary key values of the specified
record.
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.