Show / Hide Table of Contents

Class InvoiceRecordData

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

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

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

Constructors

InvoiceRecordData()

Declaration
public InvoiceRecordData()

Fields

CompanyId

The reference to the company entry this entry is connected to. NULL or -1 if not connected.

Declaration
public int CompanyId
Field Value
Type Description
Int32

CreatedAt

When the invoice entry was created.

Declaration
public DateTime CreatedAt
Field Value
Type Description
DateTime

CustomerId

The reference to the customer entry this entry is connected to. NULL or -1 if not connected.

Declaration
public int CustomerId
Field Value
Type Description
Int32

Description

A string describing the invoice entry.

Declaration
public string Description
Field Value
Type Description
String

InvoiceId

The primary key (auto-incremented)

Declaration
public int InvoiceId
Field Value
Type Description
Int32

PriceCharged

The amount (money) charged.

Declaration
public double PriceCharged
Field Value
Type Description
Double

TimeCharged

The amount of time (minutes) charged. From version 2.8 this field is no longer in use

Declaration
public int TimeCharged
Field Value
Type Description
Int32

Extension Methods

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