Class AppointmentRows.IdxAssociateIdActiveDateMotherId
Class representing index 'IAssoc_idActiveDateMother_idI'. This particular class implements a from-the-left subset of the fields, to ease coding of these efficient searches
Inheritance
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public sealed class AppointmentRows.IdxAssociateIdActiveDateMotherId : AppointmentRows.AppointmentRowsIdx, ICloneable, ISentryIgnorable
Constructors
IdxAssociateIdActiveDateMotherId(int, DateTime, DateTimeSearchType, int)
Constructor for class AppointmentRows.IdxAssociateIdActiveDateMotherId This class represents index 'IAssoc_idActiveDateMother_idId'.
Declaration
public IdxAssociateIdActiveDateMotherId(int associateId, DateTime activeDate, DateTimeSearchType activeDateSearchType, int motherId)
Parameters
Type | Name | Description |
---|---|---|
int | associateId | |
DateTime | activeDate | |
DateTimeSearchType | activeDateSearchType | How to search for ActiveDate |
int | motherId |
IdxAssociateIdActiveDateMotherId(int, DateTime, int)
Constructor for class AppointmentRows.IdxAssociateIdActiveDateMotherId This class represents index 'IAssoc_idActiveDateMother_idId'. This particular class implements a from-the-left subset of the fields, to ease coding of these efficient searches
Declaration
public IdxAssociateIdActiveDateMotherId(int associateId, DateTime activeDate, int motherId)
Parameters
Type | Name | Description |
---|---|---|
int | associateId | |
DateTime | activeDate | |
int | motherId |
Properties
ActiveDate
The date to be used for searching & showing
Declaration
public DateTime ActiveDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
AssociateId
ID of associate whose diary the appointment is in, REQUIRED
Declaration
public int AssociateId { get; set; }
Property Value
Type | Description |
---|---|
int |
InnerRestriction
The Restriction passed to the Select statement.
Declaration
protected override Restriction InnerRestriction { get; }
Property Value
Type | Description |
---|---|
Restriction | Restriction object holding the restrictions for the select statement. |
Overrides
MotherId
ID of mother appointment; self if booking master, master ID if booking slave, 0 if normal appointment. However, if 0 and assoc_id != reg_id then this is an assigned appointment, indicated vt type = kBooking
Declaration
public int MotherId { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
UpdateRow(TableRowBase)
Update the AppointmentRow with the values from the index.
Declaration
public override void UpdateRow(TableRowBase baseRow)
Parameters
Type | Name | Description |
---|---|---|
TableRowBase | baseRow | The row to update. This must be an instance of AppointmentRow. |