Class TicketPriorityRow
This table contains the ticket priorities.
Row Object for table 'ticket_priority'. Row objects correspond directly to database tables, and one
instance of a row object represents one row in the corresponding table in the database.
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class TicketPriorityRow : TableRowBase, INestedPersist, ISoDataLookup, ISentryIgnorable, ISoItem
Remarks
Row objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values,
you call the
method and a corresponding row in the database is created, and the objects' primary key field updated. This is the preferred way to insert new rows into the database. - You can create a (nested) TicketPriorityRow TicketPriorityRow.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(TicketPriorityRow.CustomSearch) method to apply the query to the database and obtain the result as a Row object. This is how you select existing rows from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does
not exist in the database), you will get a Row object with the
and properties set to true. Such a Row object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row. - Finally, if you have an SoDataReader that contains ALL the fields of the table, and you have the TicketPriorityTableInfo instance used in the query behind the reader, you can use the static GetFromReader(SoDataReader, TicketPriorityTableInfo) method to create a new row object from the reader and the table info. This is useful when you have a larger, more complex query, for instance one that joins a number of tables, and you wish to use Row objects to process the result set. If your result set corresponds to an entity, consider using the corresponding Entity layer object instead, since entities automatically handle ID allocation and mapping, rights, and other higher-level aspects.
Unique indexes on table TicketPriority are:
Index fields | Nested index class name |
---|
Constructors
TicketPriorityRow(TicketPriorityRow.TicketPriorityRowIdxBase)
Constructor for the class taking an index as argument. This table contains the ticket priorities.
Declaration
protected TicketPriorityRow(TicketPriorityRow.TicketPriorityRowIdxBase idx)
Parameters
Type | Name | Description |
---|---|---|
TicketPriorityRow.TicketPriorityRowIdxBase | idx | The index representing a SELECT command to the database. |
Fields
_currentChangedOwner
Current value, see property ChangedOwner.
Declaration
protected TicketPriorityEscalateEvent _currentChangedOwner
Field Value
Type | Description |
---|---|
TicketPriorityEscalateEvent |
_currentDeadline
Current value, see property Deadline.
Declaration
protected int _currentDeadline
Field Value
Type | Description |
---|---|
Int32 |
_currentFlags
Current value, see property Flags.
Declaration
protected TicketPriorityFlags _currentFlags
Field Value
Type | Description |
---|---|
TicketPriorityFlags |
_currentFriStart
Current value, see property FriStart.
Declaration
protected DateTime _currentFriStart
Field Value
Type | Description |
---|---|
DateTime |
_currentFriStop
Current value, see property FriStop.
Declaration
protected DateTime _currentFriStop
Field Value
Type | Description |
---|---|
DateTime |
_currentMonStart
Current value, see property MonStart.
Declaration
protected DateTime _currentMonStart
Field Value
Type | Description |
---|---|
DateTime |
_currentMonStop
Current value, see property MonStop.
Declaration
protected DateTime _currentMonStop
Field Value
Type | Description |
---|---|
DateTime |
_currentName
Current value, see property Name.
Declaration
protected string _currentName
Field Value
Type | Description |
---|---|
String |
_currentNonDates
Current value, see property NonDates.
Declaration
protected string _currentNonDates
Field Value
Type | Description |
---|---|
String |
_currentSatStart
Current value, see property SatStart.
Declaration
protected DateTime _currentSatStart
Field Value
Type | Description |
---|---|
DateTime |
_currentSatStop
Current value, see property SatStop.
Declaration
protected DateTime _currentSatStop
Field Value
Type | Description |
---|---|
DateTime |
_currentSortOrder
Current value, see property SortOrder.
Declaration
protected int _currentSortOrder
Field Value
Type | Description |
---|---|
Int32 |
_currentStatus
Current value, see property Status.
Declaration
protected TicketPriorityStatus _currentStatus
Field Value
Type | Description |
---|---|
TicketPriorityStatus |
_currentSunStart
Current value, see property SunStart.
Declaration
protected DateTime _currentSunStart
Field Value
Type | Description |
---|---|
DateTime |
_currentSunStop
Current value, see property SunStop.
Declaration
protected DateTime _currentSunStop
Field Value
Type | Description |
---|---|
DateTime |
_currentThuStart
Current value, see property ThuStart.
Declaration
protected DateTime _currentThuStart
Field Value
Type | Description |
---|---|
DateTime |
_currentThuStop
Current value, see property ThuStop.
Declaration
protected DateTime _currentThuStop
Field Value
Type | Description |
---|---|
DateTime |
_currentTicketChangedPriority
Current value, see property TicketChangedPriority.
Declaration
protected TicketPriorityEscalateEvent _currentTicketChangedPriority
Field Value
Type | Description |
---|---|
TicketPriorityEscalateEvent |
_currentTicketClosed
Current value, see property TicketClosed.
Declaration
protected TicketPriorityEscalateEvent _currentTicketClosed
Field Value
Type | Description |
---|---|
TicketPriorityEscalateEvent |
_currentTicketNew
Current value, see property TicketNew.
Declaration
protected TicketPriorityEscalateEvent _currentTicketNew
Field Value
Type | Description |
---|---|
TicketPriorityEscalateEvent |
_currentTicketNewinfo
Current value, see property TicketNewinfo.
Declaration
protected TicketPriorityEscalateEvent _currentTicketNewinfo
Field Value
Type | Description |
---|---|
TicketPriorityEscalateEvent |
_currentTicketPriorityId
Current value, see property TicketPriorityId.
Declaration
protected int _currentTicketPriorityId
Field Value
Type | Description |
---|---|
Int32 |
_currentTicketRead
Current value, see property TicketRead.
Declaration
protected TicketPriorityEscalateEvent _currentTicketRead
Field Value
Type | Description |
---|---|
TicketPriorityEscalateEvent |
_currentTueStart
Current value, see property TueStart.
Declaration
protected DateTime _currentTueStart
Field Value
Type | Description |
---|---|
DateTime |
_currentTueStop
Current value, see property TueStop.
Declaration
protected DateTime _currentTueStop
Field Value
Type | Description |
---|---|
DateTime |
_currentWedStart
Current value, see property WedStart.
Declaration
protected DateTime _currentWedStart
Field Value
Type | Description |
---|---|
DateTime |
_currentWedStop
Current value, see property WedStop.
Declaration
protected DateTime _currentWedStop
Field Value
Type | Description |
---|---|
DateTime |
_persistedChangedOwner
Persisted value, see property ChangedOwner.
Declaration
protected TicketPriorityEscalateEvent _persistedChangedOwner
Field Value
Type | Description |
---|---|
TicketPriorityEscalateEvent |
_persistedDeadline
Persisted value, see property Deadline.
Declaration
protected int _persistedDeadline
Field Value
Type | Description |
---|---|
Int32 |
_persistedFlags
Persisted value, see property Flags.
Declaration
protected TicketPriorityFlags _persistedFlags
Field Value
Type | Description |
---|---|
TicketPriorityFlags |
_persistedFriStart
Persisted value, see property FriStart.
Declaration
protected DateTime _persistedFriStart
Field Value
Type | Description |
---|---|
DateTime |
_persistedFriStop
Persisted value, see property FriStop.
Declaration
protected DateTime _persistedFriStop
Field Value
Type | Description |
---|---|
DateTime |
_persistedMonStart
Persisted value, see property MonStart.
Declaration
protected DateTime _persistedMonStart
Field Value
Type | Description |
---|---|
DateTime |
_persistedMonStop
Persisted value, see property MonStop.
Declaration
protected DateTime _persistedMonStop
Field Value
Type | Description |
---|---|
DateTime |
_persistedName
Persisted value, see property Name.
Declaration
protected string _persistedName
Field Value
Type | Description |
---|---|
String |
_persistedNonDates
Persisted value, see property NonDates.
Declaration
protected string _persistedNonDates
Field Value
Type | Description |
---|---|
String |
_persistedSatStart
Persisted value, see property SatStart.
Declaration
protected DateTime _persistedSatStart
Field Value
Type | Description |
---|---|
DateTime |
_persistedSatStop
Persisted value, see property SatStop.
Declaration
protected DateTime _persistedSatStop
Field Value
Type | Description |
---|---|
DateTime |
_persistedSortOrder
Persisted value, see property SortOrder.
Declaration
protected int _persistedSortOrder
Field Value
Type | Description |
---|---|
Int32 |
_persistedStatus
Persisted value, see property Status.
Declaration
protected TicketPriorityStatus _persistedStatus
Field Value
Type | Description |
---|---|
TicketPriorityStatus |
_persistedSunStart
Persisted value, see property SunStart.
Declaration
protected DateTime _persistedSunStart
Field Value
Type | Description |
---|---|
DateTime |
_persistedSunStop
Persisted value, see property SunStop.
Declaration
protected DateTime _persistedSunStop
Field Value
Type | Description |
---|---|
DateTime |
_persistedThuStart
Persisted value, see property ThuStart.
Declaration
protected DateTime _persistedThuStart
Field Value
Type | Description |
---|---|
DateTime |
_persistedThuStop
Persisted value, see property ThuStop.
Declaration
protected DateTime _persistedThuStop
Field Value
Type | Description |
---|---|
DateTime |
_persistedTicketChangedPriority
Persisted value, see property TicketChangedPriority.
Declaration
protected TicketPriorityEscalateEvent _persistedTicketChangedPriority
Field Value
Type | Description |
---|---|
TicketPriorityEscalateEvent |
_persistedTicketClosed
Persisted value, see property TicketClosed.
Declaration
protected TicketPriorityEscalateEvent _persistedTicketClosed
Field Value
Type | Description |
---|---|
TicketPriorityEscalateEvent |
_persistedTicketNew
Persisted value, see property TicketNew.
Declaration
protected TicketPriorityEscalateEvent _persistedTicketNew
Field Value
Type | Description |
---|---|
TicketPriorityEscalateEvent |
_persistedTicketNewinfo
Persisted value, see property TicketNewinfo.
Declaration
protected TicketPriorityEscalateEvent _persistedTicketNewinfo
Field Value
Type | Description |
---|---|
TicketPriorityEscalateEvent |
_persistedTicketPriorityId
Persisted value, see property TicketPriorityId.
Declaration
protected int _persistedTicketPriorityId
Field Value
Type | Description |
---|---|
Int32 |
_persistedTicketRead
Persisted value, see property TicketRead.
Declaration
protected TicketPriorityEscalateEvent _persistedTicketRead
Field Value
Type | Description |
---|---|
TicketPriorityEscalateEvent |
_persistedTueStart
Persisted value, see property TueStart.
Declaration
protected DateTime _persistedTueStart
Field Value
Type | Description |
---|---|
DateTime |
_persistedTueStop
Persisted value, see property TueStop.
Declaration
protected DateTime _persistedTueStop
Field Value
Type | Description |
---|---|
DateTime |
_persistedWedStart
Persisted value, see property WedStart.
Declaration
protected DateTime _persistedWedStart
Field Value
Type | Description |
---|---|
DateTime |
_persistedWedStop
Persisted value, see property WedStop.
Declaration
protected DateTime _persistedWedStop
Field Value
Type | Description |
---|---|
DateTime |
Properties
ChangedOwner
.NET type: TicketPriorityEscalateEvent. This field indicates what to do with the escalation chain when the request changes owner (manually)
Declaration
public virtual TicketPriorityEscalateEvent ChangedOwner { get; set; }
Property Value
Type | Description |
---|---|
TicketPriorityEscalateEvent |
Remarks
Original type in dictionary: Enum.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
Deadline
.NET type: int. Deadline to add if escalated (minutes)
Declaration
public virtual int Deadline { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Remarks
Original type in dictionary: Int.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
Flags
.NET type: TicketPriorityFlags. A bitmask of flags.
Declaration
public virtual TicketPriorityFlags Flags { get; set; }
Property Value
Type | Description |
---|---|
TicketPriorityFlags |
Remarks
Original type in dictionary: Enum.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
FriStart
.NET type: DateTime.
Declaration
public virtual DateTime FriStart { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Remarks
Original type in dictionary: DateTime.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
FriStop
.NET type: DateTime.
Declaration
public virtual DateTime FriStop { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Remarks
Original type in dictionary: DateTime.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
InnerFieldValuePairs
The values of all the fields in the row.
The first field is the primary key.
The index of the value corresponds to the name
of the field returned from the Fields property.
Declaration
protected override ArgumentParameterCollection InnerFieldValuePairs { get; }
Property Value
Type | Description |
---|---|
ArgumentParameterCollection |
Overrides
InnerPrimaryKey
The primary key needed to decide which specific row to alter with the current sql-command.
Declaration
protected override FieldInfo InnerPrimaryKey { get; }
Property Value
Type | Description |
---|---|
FieldInfo |
Overrides
InnerPrimaryKeyValue
The actual value the primary key must have.
Declaration
protected override Parameter InnerPrimaryKeyValue { get; }
Property Value
Type | Description |
---|---|
Parameter |
Overrides
IsDirty
Is the row dirty, e.g. been modified since the last time it was saved to the database.
Declaration
public override bool IsDirty { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
IsNew
Is this object new, meaning that it does not exist in the database.
Declaration
public override bool IsNew { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Item[String]
Get or set a value based on the name of the field.
Declaration
public override object this[string fieldName] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
String | fieldName | Name of the field in the database |
Property Value
Type | Description |
---|---|
Object | Value of the field. |
Overrides
Exceptions
Type | Condition |
---|---|
ArgumentException | Thrown if the field is not known. |
MonStart
.NET type: DateTime. When the timeframe starts on monday.
Declaration
public virtual DateTime MonStart { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Remarks
Original type in dictionary: DateTime.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
MonStop
.NET type: DateTime. When the timeframe ends on monday.
Declaration
public virtual DateTime MonStop { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Remarks
Original type in dictionary: DateTime.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
Name
.NET type: string. The name of the priority.
Declaration
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
Remarks
Original type in dictionary: String[65].
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
NonDates
.NET type: string. A comma separated list of dates (dd/mm) which should be excluded from the timeframe.
Declaration
public virtual string NonDates { get; set; }
Property Value
Type | Description |
---|---|
String |
Remarks
Original type in dictionary: String[256].
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
SatStart
.NET type: DateTime.
Declaration
public virtual DateTime SatStart { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Remarks
Original type in dictionary: DateTime.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
SatStop
.NET type: DateTime.
Declaration
public virtual DateTime SatStop { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Remarks
Original type in dictionary: DateTime.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
SortOrder
.NET type: int. Indicates the sort order for this priority. 1 is first, 100 is last
Declaration
public virtual int SortOrder { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Remarks
Original type in dictionary: Int.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
Status
.NET type: TicketPriorityStatus. The status (normal/deleted) of the priority.
Declaration
public virtual TicketPriorityStatus Status { get; set; }
Property Value
Type | Description |
---|---|
TicketPriorityStatus |
Remarks
Original type in dictionary: Enum.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
SunStart
.NET type: DateTime.
Declaration
public virtual DateTime SunStart { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Remarks
Original type in dictionary: DateTime.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
SunStop
.NET type: DateTime.
Declaration
public virtual DateTime SunStop { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Remarks
Original type in dictionary: DateTime.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
TableInfo
Get the TableInfo for the table.
Declaration
public override TableInfo TableInfo { get; }
Property Value
Type | Description |
---|---|
TableInfo | The TableInfo for the table. |
Overrides
ThuStart
.NET type: DateTime.
Declaration
public virtual DateTime ThuStart { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Remarks
Original type in dictionary: DateTime.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
ThuStop
.NET type: DateTime.
Declaration
public virtual DateTime ThuStop { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Remarks
Original type in dictionary: DateTime.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
TicketChangedPriority
.NET type: TicketPriorityEscalateEvent. This field indicates what to do with the escalation chain when the request is changed into this priority
Declaration
public virtual TicketPriorityEscalateEvent TicketChangedPriority { get; set; }
Property Value
Type | Description |
---|---|
TicketPriorityEscalateEvent |
Remarks
Original type in dictionary: Enum.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
TicketClosed
.NET type: TicketPriorityEscalateEvent. This field indicates what to do with the escalation chain when the request is closed
Declaration
public virtual TicketPriorityEscalateEvent TicketClosed { get; set; }
Property Value
Type | Description |
---|---|
TicketPriorityEscalateEvent |
Remarks
Original type in dictionary: Enum.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
TicketNew
.NET type: TicketPriorityEscalateEvent. This field indicates what to do with the escalation chain when a new request is registered
Declaration
public virtual TicketPriorityEscalateEvent TicketNew { get; set; }
Property Value
Type | Description |
---|---|
TicketPriorityEscalateEvent |
Remarks
Original type in dictionary: Enum.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
TicketNewinfo
.NET type: TicketPriorityEscalateEvent. This field indicates what to do with the escalation chain when the request gets new info
Declaration
public virtual TicketPriorityEscalateEvent TicketNewinfo { get; set; }
Property Value
Type | Description |
---|---|
TicketPriorityEscalateEvent |
Remarks
Original type in dictionary: Enum.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
TicketPriorityId
.NET type: int. The primary key (auto-incremented)
Declaration
public virtual int TicketPriorityId { get; }
Property Value
Type | Description |
---|---|
Int32 |
Remarks
Original type in dictionary: PK.
This field is the primary key and can only be read, never written.
This field is not protected by the Sentry system, and can always be read
TicketPriorityTableInfo
Get the TicketPriorityTableInfo object associated with the row.
Declaration
public TicketPriorityTableInfo TicketPriorityTableInfo { get; }
Property Value
Type | Description |
---|---|
TicketPriorityTableInfo |
TicketRead
.NET type: TicketPriorityEscalateEvent. This field indicates what to do with the escalation chain when the request is read
Declaration
public virtual TicketPriorityEscalateEvent TicketRead { get; set; }
Property Value
Type | Description |
---|---|
TicketPriorityEscalateEvent |
Remarks
Original type in dictionary: Enum.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
TueStart
.NET type: DateTime.
Declaration
public virtual DateTime TueStart { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Remarks
Original type in dictionary: DateTime.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
TueStop
.NET type: DateTime.
Declaration
public virtual DateTime TueStop { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Remarks
Original type in dictionary: DateTime.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
WedStart
.NET type: DateTime.
Declaration
public virtual DateTime WedStart { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Remarks
Original type in dictionary: DateTime.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
WedStop
.NET type: DateTime.
Declaration
public virtual DateTime WedStop { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Remarks
Original type in dictionary: DateTime.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
Methods
CreateNew()
Create a new instance of the TicketPriorityRow object. This table contains the ticket priorities.
Declaration
public static TicketPriorityRow CreateNew()
Returns
Type | Description |
---|---|
TicketPriorityRow | A new instance of the TicketPriorityRow object. |
GetFromCustomSearch(TicketPriorityRow.CustomSearch)
Create a new instance of the TicketPriorityRow object, and populate it with data from a custom search. If the search returns no results, an object with IsNew will be returned; if the result contains one row, an object representing that row will be returned. If the result contains more than one row, the first row will be used and the rest discarded (there is no way of detecting this situation).
Declaration
public static TicketPriorityRow GetFromCustomSearch(TicketPriorityRow.CustomSearch query)
Parameters
Type | Name | Description |
---|---|---|
TicketPriorityRow.CustomSearch | query | The custom search to execute against the database |
Returns
Type | Description |
---|---|
TicketPriorityRow | A new instance of the TicketPriorityRow object, reflecting the result of the query. |
GetFromIdxTicketPriorityId(Int32)
Create a new instance of the TicketPriorityRow object, by querying the database table via the index 'IDXTicket_priorityId'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static TicketPriorityRow GetFromIdxTicketPriorityId(int ticketPriorityId)
Parameters
Type | Name | Description |
---|---|---|
Int32 | ticketPriorityId |
Returns
Type | Description |
---|---|
TicketPriorityRow | Row object that represents the result of the search. IsNew will be true if the query did not match any row in the table |
Remarks
This method represents one of the unique indexes on the TicketPriority table. Non-unique indexes have corresponding inner classes and methods in the TicketPriorityRows collection, since they may return more than one row.
GetFromReader(SoDataReader, TicketPriorityTableInfo)
Create a new instance of the TicketPriorityRow object, and populate it with data from a reader/tableinfo. If the reader has DBNull as the current value of the primary key field, an unpopulated object with IsNew == true will be returned. If any fields are missing or one of the non-primary key fields is DBNull, an exception will be thrown. This table contains the ticket priorities.
Declaration
public static TicketPriorityRow GetFromReader(SoDataReader reader, TicketPriorityTableInfo tableInfo)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | SoDataReader positioned to a valid database row. |
TicketPriorityTableInfo | tableInfo | TicketPriorityTableInfo instance used in the query that is the source of the reader. The fields used from the reader will be those owned by this tableinfo object. |
Returns
Type | Description |
---|---|
TicketPriorityRow | A new instance of the TicketPriorityRow object. |
GetPersistedFieldValue(FieldInfo)
Get the persisted value of a field.
Declaration
public override object GetPersistedFieldValue(FieldInfo field)
Parameters
Type | Name | Description |
---|---|---|
FieldInfo | field | Specification of a field |
Returns
Type | Description |
---|---|
Object | Field value, such as an int, DateTime, string ... Null can be returned if the value is not known. |
Overrides
Exceptions
Type | Condition |
---|---|
ArgumentException | Thrown if the field is not known. |
InternalSetValue(String, Object)
Declaration
protected override void InternalSetValue(string fieldName, object value)
Parameters
Type | Name | Description |
---|---|---|
String | fieldName | |
Object | value |
Overrides
IsPersistedFieldValueKnown(FieldInfo)
Check if the persisted value for a field is known.
Declaration
public override bool IsPersistedFieldValueKnown(FieldInfo field)
Parameters
Type | Name | Description |
---|---|---|
FieldInfo | field | Specification of a field |
Returns
Type | Description |
---|---|
Boolean | True if the value is known and sentry permits read. |
Overrides
OnLoad(SoDataReader, TableInfo)
Fill the object with data returned from the database.
Declaration
protected override void OnLoad(SoDataReader reader, TableInfo tableInfo)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | Object holding the data returned from the database. |
TableInfo | tableInfo | The TableInfo used for the SELECT statement. |
Overrides
OnSave(BatchSave)
Add the object to the BatchSave list if it needs saving.
Declaration
protected override void OnSave(BatchSave batchSave)
Parameters
Type | Name | Description |
---|---|---|
BatchSave | batchSave | Collection of objects to be saved within the transaction. |
Overrides
Remarks
Classes overriding this method should call it.
OnSaved(Boolean)
Method called after the save operation has been performed.
Declaration
protected override void OnSaved(bool bSucceeded)
Parameters
Type | Name | Description |
---|---|---|
Boolean | bSucceeded | True if the save operation succeeded (e.g. transaction committed), or false if the save operation failed (e.g. transaction rolled back) |
Overrides
Reset()
Reset the changes made on the object.
Declaration
protected override void Reset()
Overrides
Remarks
If the row is not persisted to the database (e.g. IsNew is true), all the values will be reset. If the row has been persisted to or loaded from the database, the properties will be set to those of the last persisted or loaded values.
SetDefaults(DefaulterStrategy)
Set default values for the row.
Declaration
public override void SetDefaults(DefaulterStrategy strategy)
Parameters
Type | Name | Description |
---|---|---|
DefaulterStrategy | strategy | Strategy used when applying default values; values depend on where we are in the Create/Fetch/Populate/Save cycle |
Overrides
SetPrimaryKey(Int32)
Set the primary key for the row.
Declaration
protected override void SetPrimaryKey(int primaryKey)
Parameters
Type | Name | Description |
---|---|---|
Int32 | primaryKey | The new primary key for the row. |
Overrides
SetRowAsNew()
Declaration
public override void SetRowAsNew()
Overrides
ToString()
ToString method intended for debugging, returns a string that displays the object type, new/dirty status, primary key and the string fields
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |
Overrides
Validate(RowValidator)
Validate this row.
Declaration
public override void Validate(RowValidator rowValidator)
Parameters
Type | Name | Description |
---|---|---|
RowValidator | rowValidator | RowValidator for inserting the result of the validation |
Overrides
Events
_onChangedOwnerChange
Change envent for property ChangedOwner; field is of .NET type int.
Declaration
protected event OnFieldChange<TicketPriorityEscalateEvent> _onChangedOwnerChange
Event Type
Type | Description |
---|---|
OnFieldChange<TicketPriorityEscalateEvent> |
_onDeadlineChange
Change envent for property Deadline; field is of .NET type int.
Declaration
protected event OnFieldChange<int> _onDeadlineChange
Event Type
Type | Description |
---|---|
OnFieldChange<Int32> |
_onFlagsChange
Change envent for property Flags; field is of .NET type int.
Declaration
protected event OnFieldChange<TicketPriorityFlags> _onFlagsChange
Event Type
Type | Description |
---|---|
OnFieldChange<TicketPriorityFlags> |
_onFriStartChange
Change envent for property FriStart; field is of .NET type DateTime.
Declaration
protected event OnFieldChange<DateTime> _onFriStartChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
_onFriStopChange
Change envent for property FriStop; field is of .NET type DateTime.
Declaration
protected event OnFieldChange<DateTime> _onFriStopChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
_onMonStartChange
Change envent for property MonStart; field is of .NET type DateTime.
Declaration
protected event OnFieldChange<DateTime> _onMonStartChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
_onMonStopChange
Change envent for property MonStop; field is of .NET type DateTime.
Declaration
protected event OnFieldChange<DateTime> _onMonStopChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
_onNameChange
Change envent for property Name; field is of .NET type string.
Declaration
protected event OnFieldChange<string> _onNameChange
Event Type
Type | Description |
---|---|
OnFieldChange<String> |
_onNonDatesChange
Change envent for property NonDates; field is of .NET type string.
Declaration
protected event OnFieldChange<string> _onNonDatesChange
Event Type
Type | Description |
---|---|
OnFieldChange<String> |
_onSatStartChange
Change envent for property SatStart; field is of .NET type DateTime.
Declaration
protected event OnFieldChange<DateTime> _onSatStartChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
_onSatStopChange
Change envent for property SatStop; field is of .NET type DateTime.
Declaration
protected event OnFieldChange<DateTime> _onSatStopChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
_onSortOrderChange
Change envent for property SortOrder; field is of .NET type int.
Declaration
protected event OnFieldChange<int> _onSortOrderChange
Event Type
Type | Description |
---|---|
OnFieldChange<Int32> |
_onStatusChange
Change envent for property Status; field is of .NET type short.
Declaration
protected event OnFieldChange<TicketPriorityStatus> _onStatusChange
Event Type
Type | Description |
---|---|
OnFieldChange<TicketPriorityStatus> |
_onSunStartChange
Change envent for property SunStart; field is of .NET type DateTime.
Declaration
protected event OnFieldChange<DateTime> _onSunStartChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
_onSunStopChange
Change envent for property SunStop; field is of .NET type DateTime.
Declaration
protected event OnFieldChange<DateTime> _onSunStopChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
_onThuStartChange
Change envent for property ThuStart; field is of .NET type DateTime.
Declaration
protected event OnFieldChange<DateTime> _onThuStartChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
_onThuStopChange
Change envent for property ThuStop; field is of .NET type DateTime.
Declaration
protected event OnFieldChange<DateTime> _onThuStopChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
_onTicketChangedPriorityChange
Change envent for property TicketChangedPriority; field is of .NET type int.
Declaration
protected event OnFieldChange<TicketPriorityEscalateEvent> _onTicketChangedPriorityChange
Event Type
Type | Description |
---|---|
OnFieldChange<TicketPriorityEscalateEvent> |
_onTicketClosedChange
Change envent for property TicketClosed; field is of .NET type int.
Declaration
protected event OnFieldChange<TicketPriorityEscalateEvent> _onTicketClosedChange
Event Type
Type | Description |
---|---|
OnFieldChange<TicketPriorityEscalateEvent> |
_onTicketNewChange
Change envent for property TicketNew; field is of .NET type int.
Declaration
protected event OnFieldChange<TicketPriorityEscalateEvent> _onTicketNewChange
Event Type
Type | Description |
---|---|
OnFieldChange<TicketPriorityEscalateEvent> |
_onTicketNewinfoChange
Change envent for property TicketNewinfo; field is of .NET type int.
Declaration
protected event OnFieldChange<TicketPriorityEscalateEvent> _onTicketNewinfoChange
Event Type
Type | Description |
---|---|
OnFieldChange<TicketPriorityEscalateEvent> |
_onTicketReadChange
Change envent for property TicketRead; field is of .NET type int.
Declaration
protected event OnFieldChange<TicketPriorityEscalateEvent> _onTicketReadChange
Event Type
Type | Description |
---|---|
OnFieldChange<TicketPriorityEscalateEvent> |
_onTueStartChange
Change envent for property TueStart; field is of .NET type DateTime.
Declaration
protected event OnFieldChange<DateTime> _onTueStartChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
_onTueStopChange
Change envent for property TueStop; field is of .NET type DateTime.
Declaration
protected event OnFieldChange<DateTime> _onTueStopChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
_onWedStartChange
Change envent for property WedStart; field is of .NET type DateTime.
Declaration
protected event OnFieldChange<DateTime> _onWedStartChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
_onWedStopChange
Change envent for property WedStop; field is of .NET type DateTime.
Declaration
protected event OnFieldChange<DateTime> _onWedStopChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
OnChangedOwnerChange
Event raised when ChangedOwner is changing.
Declaration
public event OnFieldChange<TicketPriorityEscalateEvent> OnChangedOwnerChange
Event Type
Type | Description |
---|---|
OnFieldChange<TicketPriorityEscalateEvent> |
OnDeadlineChange
Event raised when Deadline is changing.
Declaration
public event OnFieldChange<int> OnDeadlineChange
Event Type
Type | Description |
---|---|
OnFieldChange<Int32> |
OnFlagsChange
Event raised when Flags is changing.
Declaration
public event OnFieldChange<TicketPriorityFlags> OnFlagsChange
Event Type
Type | Description |
---|---|
OnFieldChange<TicketPriorityFlags> |
OnFriStartChange
Event raised when FriStart is changing.
Declaration
public event OnFieldChange<DateTime> OnFriStartChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
OnFriStopChange
Event raised when FriStop is changing.
Declaration
public event OnFieldChange<DateTime> OnFriStopChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
OnMonStartChange
Event raised when MonStart is changing.
Declaration
public event OnFieldChange<DateTime> OnMonStartChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
OnMonStopChange
Event raised when MonStop is changing.
Declaration
public event OnFieldChange<DateTime> OnMonStopChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
OnNameChange
Event raised when Name is changing.
Declaration
public event OnFieldChange<string> OnNameChange
Event Type
Type | Description |
---|---|
OnFieldChange<String> |
OnNonDatesChange
Event raised when NonDates is changing.
Declaration
public event OnFieldChange<string> OnNonDatesChange
Event Type
Type | Description |
---|---|
OnFieldChange<String> |
OnSatStartChange
Event raised when SatStart is changing.
Declaration
public event OnFieldChange<DateTime> OnSatStartChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
OnSatStopChange
Event raised when SatStop is changing.
Declaration
public event OnFieldChange<DateTime> OnSatStopChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
OnSortOrderChange
Event raised when SortOrder is changing.
Declaration
public event OnFieldChange<int> OnSortOrderChange
Event Type
Type | Description |
---|---|
OnFieldChange<Int32> |
OnStatusChange
Event raised when Status is changing.
Declaration
public event OnFieldChange<TicketPriorityStatus> OnStatusChange
Event Type
Type | Description |
---|---|
OnFieldChange<TicketPriorityStatus> |
OnSunStartChange
Event raised when SunStart is changing.
Declaration
public event OnFieldChange<DateTime> OnSunStartChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
OnSunStopChange
Event raised when SunStop is changing.
Declaration
public event OnFieldChange<DateTime> OnSunStopChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
OnThuStartChange
Event raised when ThuStart is changing.
Declaration
public event OnFieldChange<DateTime> OnThuStartChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
OnThuStopChange
Event raised when ThuStop is changing.
Declaration
public event OnFieldChange<DateTime> OnThuStopChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
OnTicketChangedPriorityChange
Event raised when TicketChangedPriority is changing.
Declaration
public event OnFieldChange<TicketPriorityEscalateEvent> OnTicketChangedPriorityChange
Event Type
Type | Description |
---|---|
OnFieldChange<TicketPriorityEscalateEvent> |
OnTicketClosedChange
Event raised when TicketClosed is changing.
Declaration
public event OnFieldChange<TicketPriorityEscalateEvent> OnTicketClosedChange
Event Type
Type | Description |
---|---|
OnFieldChange<TicketPriorityEscalateEvent> |
OnTicketNewChange
Event raised when TicketNew is changing.
Declaration
public event OnFieldChange<TicketPriorityEscalateEvent> OnTicketNewChange
Event Type
Type | Description |
---|---|
OnFieldChange<TicketPriorityEscalateEvent> |
OnTicketNewinfoChange
Event raised when TicketNewinfo is changing.
Declaration
public event OnFieldChange<TicketPriorityEscalateEvent> OnTicketNewinfoChange
Event Type
Type | Description |
---|---|
OnFieldChange<TicketPriorityEscalateEvent> |
OnTicketReadChange
Event raised when TicketRead is changing.
Declaration
public event OnFieldChange<TicketPriorityEscalateEvent> OnTicketReadChange
Event Type
Type | Description |
---|---|
OnFieldChange<TicketPriorityEscalateEvent> |
OnTueStartChange
Event raised when TueStart is changing.
Declaration
public event OnFieldChange<DateTime> OnTueStartChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
OnTueStopChange
Event raised when TueStop is changing.
Declaration
public event OnFieldChange<DateTime> OnTueStopChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
OnWedStartChange
Event raised when WedStart is changing.
Declaration
public event OnFieldChange<DateTime> OnWedStartChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |
OnWedStopChange
Event raised when WedStop is changing.
Declaration
public event OnFieldChange<DateTime> OnWedStopChange
Event Type
Type | Description |
---|---|
OnFieldChange<DateTime> |