Goedel.Persistence.LogPersistenceStore.pStore C# (CSharp) Method

pStore() protected method

Virtual method that is called by the management class to perform the actual write operation to the store. Note that the caller is responsible for ensuring all necessary locks are acquired to ensure thread safety.
protected pStore ( DataItem DataItem ) : void
DataItem DataItem The data to be written.
return void
        protected override void pStore(DataItem DataItem) {
            base.pStore(DataItem);
            if (!DataItem.Persisted) {
                Write(DataItem);
                DataItem.Persisted = true;
                }
            }