Gemstone Data Library
Show/Hide TOC

# TableOperations T GetInterpretedFieldValue 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.159 -- Release Build+9666939f99852a601f77d33e6f63320df255766c
C#
View Source Request Example

    public Object? GetInterpretedFieldValue(
    	string fieldName,
    	Object? value
    )

VB
View Source Request Example

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

C++
View Source Request Example

    public:
    virtual Object^ GetInterpretedFieldValue(
    	String^ fieldName,
    	Object^ value
    ) sealed

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.

#### Implements

ITableOperationsGetInterpretedFieldValue(String, Object)

## 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

TableOperationsT Class
Gemstone.Data.Model Namespace