Click or drag to resize

LkItem Class

Linkar Framework for .NET and Core


A LkItem is compose of three items: RecordId, Record and OriginalRecord. Depending on the operation, the three items may be present, or only some of them. Each LkItem can hold a list of dictionaries (for real fields, for ID fields, and for calculated fields)
Inheritance Hierarchy
SystemObject
  Linkar.LkDataLkItem

Namespace: Linkar.LkData
Assembly: Linkar.LkData (in Linkar.LkData.dll) Version: 2.3.1
Syntax
public class LkItem

The LkItem type exposes the following members.

Constructors
 NameDescription
Public methodLkItem Initializes a new instance of the LkItem class.
Public methodLkItem(String, String, String, String, String, String, String) Initializes a new instance of the LkItem class.
Top
Properties
 NameDescription
Public propertyItemInt32, Int32, Int32 Indexer that set or get fields, multivalues or subvalues from the record.
Public propertyItemString, Int32, Int32 Indexer that usign the dictionary name can set or get fields, multivalues or subvalues from the record.
Public propertyLstDicts Array with the dictionary names for record fields.
Public propertyLstDictsCalculated Array with the dictionary names for calculated fields of the record.
Public propertyLstDictsId Array with the dictionary names for record Ids.
Top
Methods
 NameDescription
Public methodComposeDeleteBuffer Composes the final buffer string for one or more records to be deleted in MV Delete operations, with the RecordId and optionally with the OriginalRecord information.
Public methodComposeNewBuffer Composes the final buffer string for one or more records to be created in MV New operations, with the RecordId and the Record information.
Public methodComposeReadBuffer Composes the final buffer string for one or more records to be read in MV Read operations, with the RecordId information.
Public methodComposeUpdateBuffer Composes the final buffer string for one or more records to be updated in MV Update operations, with the RecordId, the Record, and optionally the OriginalRecord information.
Public methodEquals
(Inherited from Object)
Protected methodFinalize
(Inherited from Object)
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Protected methodMemberwiseClone
(Inherited from Object)
Public methodToString
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldCalculated The content of calculated fields from database.
Public fieldOriginalRecord A copy of the original record to be used in operations where the optimistic lock option is enabled.
Public fieldRecord The content of a record from database.
Public fieldRecordId The ID of the record.
Top
See Also