Class AiChatTurnRows.IdxAssociateIdChatId
Class representing index 'IAssociate_idChat_idTimestamp'. 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 AiChatTurnRows.IdxAssociateIdChatId : AiChatTurnRows.AiChatTurnRowsIdx, ICloneable, ISentryIgnorable
Constructors
IdxAssociateIdChatId(int, string)
Constructor for class AiChatTurnRows.IdxAssociateIdChatId This class represents index 'IAssociate_idChat_idTimestamp'. This particular class implements a from-the-left subset of the fields, to ease coding of these efficient searches
Declaration
public IdxAssociateIdChatId(int associateId, string chatId)
Parameters
| Type | Name | Description |
|---|---|---|
| int | associateId | |
| string | chatId |
IdxAssociateIdChatId(int, string, StringSearchType)
Constructor for class AiChatTurnRows.IdxAssociateIdChatId This class represents index 'IAssociate_idChat_idTimestamp'.
Declaration
public IdxAssociateIdChatId(int associateId, string chatId, StringSearchType chatIdSearchType)
Parameters
| Type | Name | Description |
|---|---|---|
| int | associateId | |
| string | chatId | |
| StringSearchType | chatIdSearchType | How to search for ChatId |
Properties
AssociateId
User id that is chatting with the bot
Declaration
public int AssociateId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ChatId
The name of this chat topic - usually soproto + id (contact-123, sale-43, diary) but could also be an arbitrary name
Declaration
public string ChatId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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
Methods
UpdateRow(TableRowBase)
Update the AiChatTurnRow 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 AiChatTurnRow. |