Show / Hide Table of Contents

Class MsFilterRecordData

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

Inheritance
object
MsFilterRecordData
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 MsFilterRecordData
Remarks

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

Constructors

MsFilterRecordData()

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

Declaration
public MsFilterRecordData()
Remarks

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

Fields

Action

A bitmask representing the actions that should be performed if this filter is executed.

Declaration
public int Action
Field Value
Type Description
int
Remarks

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

ActionWhen

Enum indicating what should trigger this filter.

Declaration
public short ActionWhen
Field Value
Type Description
short
Remarks

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

AutofaqReplyCategory

The root folder for the auto faq search.

Declaration
public int AutofaqReplyCategory
Field Value
Type Description
int
Remarks

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

BodyTemplate

The template to use for the body of the message.

Declaration
public int BodyTemplate
Field Value
Type Description
int
Remarks

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

Description

A description for this filter.

Declaration
public string Description
Field Value
Type Description
string
Remarks

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

Ejscript

The reference to the ejscript to execute for this filter.

Declaration
public int Ejscript
Field Value
Type Description
int
Remarks

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

Flags

Flags

Declaration
public int Flags
Field Value
Type Description
int
Remarks

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

ForwardTo

An email address to forward the ticket to.

Declaration
public string ForwardTo
Field Value
Type Description
string
Remarks

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

MsFilterId

The primary key (auto-incremented)

Declaration
public int MsFilterId
Field Value
Type Description
int
Remarks

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

NewCategory

The id of the category to set for the ticket if specified by action.

Declaration
public int NewCategory
Field Value
Type Description
int
Remarks

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

NewOwner

The id of the owner to set for the ticket if specified by action.

Declaration
public int NewOwner
Field Value
Type Description
int
Remarks

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

NewPriority

The id of the priority to set for the ticket if specified by action.

Declaration
public int NewPriority
Field Value
Type Description
int
Remarks

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

NewSlevel

The security level to set for the ticket if specified by action.

Declaration
public int NewSlevel
Field Value
Type Description
int
Remarks

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

NewTags

The tags to set for tickets modified by this filter

Declaration
public int[] NewTags
Field Value
Type Description
int[]
Remarks

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

NewTicketType

Tickettype of the ticket

Declaration
public int NewTicketType
Field Value
Type Description
int
Remarks

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

ParseMode

If automatic parsing this column indicate mode

Declaration
public short ParseMode
Field Value
Type Description
short
Remarks

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

Priority

A number indicating the priority for this filter (0..10).

Declaration
public int Priority
Field Value
Type Description
int
Remarks

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

ReplyTemplate

The id of the template to use as the reply template if specified by action.

Declaration
public int ReplyTemplate
Field Value
Type Description
int
Remarks

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

ReplyTo

The email address to reply to.

Declaration
public string ReplyTo
Field Value
Type Description
string
Remarks

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

ReplyToSms

The SMS number to reply to.

Declaration
public string ReplyToSms
Field Value
Type Description
string
Remarks

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

SearchLocation

Enum indicating where to search.

Declaration
public short SearchLocation
Field Value
Type Description
short
Remarks

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

SearchString

The string to search for.

Declaration
public string SearchString
Field Value
Type Description
string
Remarks

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

SearchString2

A second string to search for. Only used if not empty.

Declaration
public string SearchString2
Field Value
Type Description
string
Remarks

Please use this class instead of a full MsFilterRow 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 MsFilterTableInfo 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)
MsFilterRecordDataExtensions.ToInsertAsync(MsFilterRecordData, 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