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 IdxAssociateIdActiveDateMotherId : AppointmentRows.AppointmentRowsIdx, ICloneable, ISentryIgnorable
Constructors
IdxAssociateIdActiveDateMotherId(Int32, DateTime, DateTimeSearchType, Int32)
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 |
---|---|---|
Int32 | associateId | |
DateTime | activeDate | |
DateTimeSearchType | activeDateSearchType | How to search for ActiveDate |
Int32 | motherId |
IdxAssociateIdActiveDateMotherId(Int32, DateTime, Int32)
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 |
---|---|---|
Int32 | associateId | |
DateTime | activeDate | |
Int32 | 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 |
---|---|
Int32 |
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 |
---|---|
Int32 |
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. |