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()

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

Declaration
public 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.

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
int
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.

CreatedAt

When the invoice entry was created.

Declaration
public DateTime CreatedAt
Field Value
Type Description
DateTime
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.

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
int
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.

Description

A string describing the invoice entry.

Declaration
public string Description
Field Value
Type Description
string
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.

InvoiceId

The primary key (auto-incremented)

Declaration
public int InvoiceId
Field Value
Type Description
int
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.

PriceCharged

The amount (money) charged.

Declaration
public double PriceCharged
Field Value
Type Description
double
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.

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
int
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.

Extension Methods

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