Show / Hide Table of Contents

Class CacheInvalidationRecordData

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the CacheInvalidation table.

Inheritance
Object
CacheInvalidationRecordData
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class CacheInvalidationRecordData : Object
Remarks

Please use this class instead of a full CacheInvalidationRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding CacheInvalidationTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Constructors

CacheInvalidationRecordData()

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the CacheInvalidation table.

Declaration
public CacheInvalidationRecordData()
Remarks

Please use this class instead of a full CacheInvalidationRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding CacheInvalidationTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Fields

CacheInvalidationId

Primary key

Declaration
public int CacheInvalidationId
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full CacheInvalidationRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding CacheInvalidationTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

FirstChange

When was the first flush registered for this table/cache in UTC.

Declaration
public DateTime FirstChange
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full CacheInvalidationRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding CacheInvalidationTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Generation

The 'generation number', starts at 1 and goes up for every registered change

Declaration
public int Generation
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full CacheInvalidationRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding CacheInvalidationTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

LastChange

The UTC datetime of the last change; for information only in UTC.

Declaration
public DateTime LastChange
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full CacheInvalidationRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding CacheInvalidationTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

LastChangeMachine

The name of the machine where the last change occurred

Declaration
public string LastChangeMachine
Field Value
Type Description
String
Remarks

Please use this class instead of a full CacheInvalidationRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding CacheInvalidationTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Name

The (unique!) name of the cache, which is often, but not always, the same as a physical table name

Declaration
public string Name
Field Value
Type Description
String
Remarks

Please use this class instead of a full CacheInvalidationRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding CacheInvalidationTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
CacheInvalidationRecordDataExtensions.ToInsert(CacheInvalidationRecordData)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top