Gemstone Data Library
Show/Hide TOC

# ITableOperationsGetInterpretedFieldValue Method

Gets the interpreted value for the specified field, encrypting or returning any intermediate IDbDataParameter value as needed.

## Definition

Namespace: Gemstone.Data.Model
Assembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.163 -- Release Build+b7c062313779c243eb4689aaf08bfd5bae61c6da
C#
View Source Request Example

    Object? GetInterpretedFieldValue(
    	string fieldName,
    	Object? value
    )

VB
View Source Request Example

    Function GetInterpretedFieldValue (
    	fieldName As String,
    	value As Object
    ) As Object

C++
View Source Request Example

    Object^ GetInterpretedFieldValue(
    	String^ fieldName,
    	Object^ value
    )

JavaScript
View Source Request Example

    function GetInterpretedFieldValue(fieldName, value);

#### Parameters

fieldName String
  Field name to retrieve.
value Object
  Field value to use.

#### Return Value

Object
Interpreted value for the specified field, encrypting or returning any intermediate IDbDataParameter value as needed.

## Remarks

This function will need to be used when calling overloads that take a RecordRestriction or composite format filter expression where the EncryptDataAttribute or FieldDataTypeAttribute have been modeled on a field referenced by one of the RecordRestriction parameters. Since the record restrictions are used with a free-form expression, the TableOperationsT class cannot be aware of the fields accessed in the expression without attempting to parse the expression which would be time-consuming and error-prone; as a result, users will need to be aware to call this function when using record restriction that references fields that are either marked for encryption or use a specific field data-type attribute.

If a RecordRestriction parameter references a field that is modeled with an EncryptDataAttribute, this function will need to be called, replacing the restriction parameter with the returned value, so that the field data value will be properly encrypted prior to executing the database function.

If a RecordRestriction parameter references a field that is modeled with a FieldDataTypeAttribute, this function will need to be called, replacing the restriction parameter with the returned value, so that the field data type will be properly set prior to executing the database function.

## See Also

#### Reference

ITableOperations Interface
Gemstone.Data.Model Namespace