Show / Hide Table of Contents

Class SPictureEntryRecordData

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

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

Please use this class instead of a full SPictureEntryRow 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 SPictureEntryTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Constructors

SPictureEntryRecordData()

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

Declaration
public SPictureEntryRecordData()
Remarks

Please use this class instead of a full SPictureEntryRow 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 SPictureEntryTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Fields

AttachmentId

The id of the attachment in the attachment table

Declaration
public int AttachmentId
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full SPictureEntryRow 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 SPictureEntryTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Description

A description of the picture

Declaration
public string Description
Field Value
Type Description
String
Remarks

Please use this class instead of a full SPictureEntryRow 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 SPictureEntryTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Flags

Various flags for this picture

Declaration
public uint Flags
Field Value
Type Description
UInt32
Remarks

Please use this class instead of a full SPictureEntryRow 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 SPictureEntryTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

FolderId

The folder which this picture belongs to. -1 indicates that the picture is on the root

Declaration
public int FolderId
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full SPictureEntryRow 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 SPictureEntryTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Hits

Number of hits on this image

Declaration
public int Hits
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full SPictureEntryRow 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 SPictureEntryTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Registered

Registered when in UTC.

Declaration
public DateTime Registered
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full SPictureEntryRow 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 SPictureEntryTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

RegisteredAssociateId

Registered by whom

Declaration
public int RegisteredAssociateId
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full SPictureEntryRow 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 SPictureEntryTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

SPictureEntryId

Primary key

Declaration
public int SPictureEntryId
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full SPictureEntryRow 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 SPictureEntryTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Status

Indicates the status of the picture. 0 = ok, 1 = deleted

Declaration
public short Status
Field Value
Type Description
Int16
Remarks

Please use this class instead of a full SPictureEntryRow 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 SPictureEntryTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Updated

Last updated when in UTC.

Declaration
public DateTime Updated
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full SPictureEntryRow 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 SPictureEntryTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

UpdatedAssociateId

Last updated by whom

Declaration
public int UpdatedAssociateId
Field Value
Type Description
Int32
Remarks

Please use this class instead of a full SPictureEntryRow 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 SPictureEntryTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

UpdatedCount

Number of updates made to this record

Declaration
public short UpdatedCount
Field Value
Type Description
Int16
Remarks

Please use this class instead of a full SPictureEntryRow 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 SPictureEntryTableInfo 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)
SPictureEntryRecordDataExtensions.ToInsert(SPictureEntryRecordData)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top