of

public static EntityRecordWithColumns of(EntityRecord record)

Wraps a passed entity record.

Such instance of EntityRecordWithColumns will contain no storage fields.


public static EntityRecordWithColumns of(EntityRecord record, Map<ColumnName, Object> storageFields)

Creates a new instance from the passed record and storage fields.