Show / Hide Table of Contents

Class CurrencyRecordData

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

Inheritance
Object
CurrencyRecordData
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 CurrencyRecordData
Remarks

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

Constructors

CurrencyRecordData()

Declaration
public CurrencyRecordData()

Fields

CurrencyId

Primary key

Declaration
public int CurrencyId
Field Value
Type Description
Int32

Deleted

0 -> record is active 1 -> record is 'deleted' and should not be shown in lists

Declaration
public short Deleted
Field Value
Type Description
Int16

IsoCode

ISO currency code, see http://www.xe.com/iso4217.php

Declaration
public string IsoCode
Field Value
Type Description
String

Name

The list item

Declaration
public string Name
Field Value
Type Description
String

Rank

Rank order

Declaration
public short Rank
Field Value
Type Description
Int16

Rate

Exchange rate

Declaration
public double Rate
Field Value
Type Description
Double

Registered

Registered when in UTC.

Declaration
public DateTime Registered
Field Value
Type Description
DateTime

RegisteredAssociateId

Registered by whom

Declaration
public int RegisteredAssociateId
Field Value
Type Description
Int32

Tooltip

Tooltip or other description

Declaration
public string Tooltip
Field Value
Type Description
String

Units

Exchange unit scale (0.01, 0.1, 1, 10, 100 etc)

Declaration
public double Units
Field Value
Type Description
Double

Updated

Last updated when in UTC.

Declaration
public DateTime Updated
Field Value
Type Description
DateTime

UpdatedAssociateId

Last updated by whom

Declaration
public int UpdatedAssociateId
Field Value
Type Description
Int32

UpdatedCount

Number of updates made to this record

Declaration
public short UpdatedCount
Field Value
Type Description
Int16

Extension Methods

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