Show / Hide Table of Contents

Class DatabaseModelRecordData

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

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

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

Constructors

DatabaseModelRecordData()

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

Declaration
public DatabaseModelRecordData()
Remarks

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

Fields

DatabaseModelId

Primary key

Declaration
public int DatabaseModelId
Field Value
Type Description
Int32
Remarks

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

IsDatabaseUnicode

Almost all databases are unicode capable

Declaration
public short IsDatabaseUnicode
Field Value
Type Description
Int16
Remarks

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

ModelData

Compressed json string containing DatabaseModel of the given version

Declaration
public Stream ModelData
Field Value
Type Description
Stream
Remarks

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

ModelVersion

Model type version name - not the data, but the structure of the model itself

Declaration
public string ModelVersion
Field Value
Type Description
String
Remarks

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