C# Класс SIL.FieldWorks.FDO.Infrastructure.Impl.CommitData

This class is used with the db4o backend to record the key information about what changed in a transaction.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ObjectsAdded long[]
ObjectsDeleted System.Guid[]
ObjectsUpdated System.Guid[]
Source System.Guid
WriteGeneration int

Описание свойств

ObjectsAdded публичное свойство

Db4o object IDs of all the CmObjects added by the transaction. We use these rather than GUIDs because we can use this to retrieve the object, and from that get the guid, but we can't get anywhere starting with the GUID of an object we've never seen.
public long[] ObjectsAdded
Результат long[]

ObjectsDeleted публичное свойство

Our IDs of the objects that were deleted.
public Guid[],System ObjectsDeleted
Результат System.Guid[]

ObjectsUpdated публичное свойство

Our IDs of the objects that were modified.
public Guid[],System ObjectsUpdated
Результат System.Guid[]

Source публичное свойство

A guid unique to one particular writer; used by each client to eliminate its own commits from queries.
public Guid,System Source
Результат System.Guid

WriteGeneration публичное свойство

Corresponds to WriteGeneration in CmObjectSurrogate. Orders all CommitData absolutely, since each Commit gets a fresh WriteGeneration.
public int WriteGeneration
Результат int