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
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class 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.

Constructors

DatabaseModelRecordData()

Declaration
public DatabaseModelRecordData()

Fields

DatabaseModelId

Primary key

Declaration
public int DatabaseModelId
Field Value
Type Description
Int32

IsDatabaseUnicode

Almost all databases are unicode capable

Declaration
public short IsDatabaseUnicode
Field Value
Type Description
Int16

ModelData

Compressed json string containing DatabaseModel of the given version

Declaration
public Stream ModelData
Field Value
Type Description
Stream

ModelVersion

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

Declaration
public string ModelVersion
Field Value
Type Description
String

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