Class AppointmentRows
Tasks, appointments, followups, phone calls; and documents (document_id != 0). An appointment always has a corresponding record in VisibleFor specifying who may see this. Collection of AppointmentRow. Each element of the collection represents one row in the Appointment table.
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class AppointmentRows : TableRowsBase, INestedPersist, IEnumerable<INestedPersist>, ISoCollection, INotifyCollectionChanged, IBindingList, IList, ICollection, IEnumerable
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type AppointmentRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) AppointmentRows AppointmentRows.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(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
Properties
this[int]
Get a AppointmentRow given its index in the collection.
Declaration
public AppointmentRow this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
int | index | Index of the AppointmentRow in the collection |
Property Value
Type | Description |
---|---|
AppointmentRow |
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type AppointmentRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) AppointmentRows AppointmentRows.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(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
Methods
Add(AppointmentRow)
Add one AppointmentRow to the collection.
Declaration
public int Add(AppointmentRow row)
Parameters
Type | Name | Description |
---|---|---|
AppointmentRow | row | An instance of AppointmentRow to be added to the collection. |
Returns
Type | Description |
---|---|
int | The index of the added AppointmentRow. |
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type AppointmentRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) AppointmentRows AppointmentRows.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(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
AddNew()
Add a new instance of AppointmentRow added to the collection.
Declaration
public AppointmentRow AddNew()
Returns
Type | Description |
---|---|
AppointmentRow | A new instance of AppointmentRow added to the collection. |
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type AppointmentRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) AppointmentRows AppointmentRows.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(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
AddRange(IEnumerable<AppointmentRow>)
Add a range of AppointmentRow to the collection.
Declaration
public AppointmentRows AddRange(IEnumerable<AppointmentRow> rows)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<AppointmentRow> | rows |
Returns
Type | Description |
---|---|
AppointmentRows | The updated AppointmentRows collection object. |
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type AppointmentRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) AppointmentRows AppointmentRows.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(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
CreateChild()
Create a new instance of AppointmentRow
Declaration
protected override TableRowBase CreateChild()
Returns
Type | Description |
---|---|
TableRowBase | New instance of AppointmentRow |
Overrides
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type AppointmentRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) AppointmentRows AppointmentRows.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(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
CreateNew()
Create a new instance of the AppointmentRows object. This collection will contain no rows.
Declaration
public static AppointmentRows CreateNew()
Returns
Type | Description |
---|---|
AppointmentRows | A new instance of the AppointmentRows object. |
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type AppointmentRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) AppointmentRows AppointmentRows.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(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
Find(Predicate<AppointmentRow>)
Apply the predicate to each element of the collection and return the first row that matches; if no match then return null
Declaration
public AppointmentRow Find(Predicate<AppointmentRow> condition)
Parameters
Type | Name | Description |
---|---|---|
Predicate<AppointmentRow> | condition |
Returns
Type | Description |
---|---|
AppointmentRow |
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type AppointmentRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) AppointmentRows AppointmentRows.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(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
FindAll(Predicate<AppointmentRow>)
Return a new collection that contains only those elements that match the condition. Elements are shared, not clones! of the original collection
Declaration
public AppointmentRows FindAll(Predicate<AppointmentRow> condition)
Parameters
Type | Name | Description |
---|---|---|
Predicate<AppointmentRow> | condition |
Returns
Type | Description |
---|---|
AppointmentRows |
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type AppointmentRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) AppointmentRows AppointmentRows.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(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
ForEach(Action<AppointmentRow>)
Method that iterates over all members and applies the action parameter to each of them
Declaration
public void ForEach(Action<AppointmentRow> whatToDo)
Parameters
Type | Name | Description |
---|---|---|
Action<AppointmentRow> | whatToDo |
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type AppointmentRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) AppointmentRows AppointmentRows.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(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
GetFromCustomSearch(CustomSearch)
Create a new instance of the AppointmentRows object, and populate it with data from a custom search. If the search returns no results, an empty collection will be returned; if the result contains rows, a collection of AppointmentRow objects representing each row will be returned.
Declaration
public static AppointmentRows GetFromCustomSearch(AppointmentRows.CustomSearch query)
Parameters
Type | Name | Description |
---|---|---|
AppointmentRows.CustomSearch | query | The custom search to execute against the database |
Returns
Type | Description |
---|---|
AppointmentRows | A new instance of the AppointmentRows object, reflecting the result of the query. |
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type AppointmentRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) AppointmentRows AppointmentRows.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(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
GetFromIdxActiveDate(DateTime)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IDXAppntActiveDate'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxActiveDate(DateTime activeDate)
Parameters
Type | Name | Description |
---|---|---|
DateTime | activeDate |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxAgendaTextId(int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IDXAppntAgenda_text_id'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxAgendaTextId(int agendaTextId)
Parameters
Type | Name | Description |
---|---|---|
int | agendaTextId |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxAssociateId(int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IAssoc_idTypeStatusDone'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxAssociateId(int associateId)
Parameters
Type | Name | Description |
---|---|---|
int | associateId |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxAssociateIdActiveDate(int, DateTime)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IAssoc_idActiveDateMother_idId'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxAssociateIdActiveDate(int associateId, DateTime activeDate)
Parameters
Type | Name | Description |
---|---|---|
int | associateId | |
DateTime | activeDate |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxAssociateIdActiveDateMotherId(int, DateTime, int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IAssoc_idActiveDateMother_idId'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxAssociateIdActiveDateMotherId(int associateId, DateTime activeDate, int motherId)
Parameters
Type | Name | Description |
---|---|---|
int | associateId | |
DateTime | activeDate | |
int | motherId |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxAssociateIdStatus(int, AppointmentStatus)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IAssoc_idStatusDo_byEndDate'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxAssociateIdStatus(int associateId, AppointmentStatus status)
Parameters
Type | Name | Description |
---|---|---|
int | associateId | |
AppointmentStatus | status |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxAssociateIdStatusDoBy(int, AppointmentStatus, DateTime)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IAssoc_idStatusDo_byEndDate'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxAssociateIdStatusDoBy(int associateId, AppointmentStatus status, DateTime doBy)
Parameters
Type | Name | Description |
---|---|---|
int | associateId | |
AppointmentStatus | status | |
DateTime | doBy |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxAssociateIdStatusDoByEndDate(int, AppointmentStatus, DateTime, DateTime)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IAssoc_idStatusDo_byEndDate'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxAssociateIdStatusDoByEndDate(int associateId, AppointmentStatus status, DateTime doBy, DateTime endDate)
Parameters
Type | Name | Description |
---|---|---|
int | associateId | |
AppointmentStatus | status | |
DateTime | doBy | |
DateTime | endDate |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxAssociateIdType(int, AppointmentType)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IAssoc_idTypeStatusDone'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxAssociateIdType(int associateId, AppointmentType type)
Parameters
Type | Name | Description |
---|---|---|
int | associateId | |
AppointmentType | type |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxAssociateIdTypeEndDate(int, AppointmentType, DateTime)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IAssoc_idTypeEndDateDo_by'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxAssociateIdTypeEndDate(int associateId, AppointmentType type, DateTime endDate)
Parameters
Type | Name | Description |
---|---|---|
int | associateId | |
AppointmentType | type | |
DateTime | endDate |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxAssociateIdTypeEndDateDoBy(int, AppointmentType, DateTime, DateTime)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IAssoc_idTypeEndDateDo_by'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxAssociateIdTypeEndDateDoBy(int associateId, AppointmentType type, DateTime endDate, DateTime doBy)
Parameters
Type | Name | Description |
---|---|---|
int | associateId | |
AppointmentType | type | |
DateTime | endDate | |
DateTime | doBy |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxAssociateIdTypeStatus(int, AppointmentType, AppointmentStatus)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IAssoc_idTypeStatusDone'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxAssociateIdTypeStatus(int associateId, AppointmentType type, AppointmentStatus status)
Parameters
Type | Name | Description |
---|---|---|
int | associateId | |
AppointmentType | type | |
AppointmentStatus | status |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxAssociateIdTypeStatusActiveDate(int, AppointmentType, AppointmentStatus, DateTime)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IAssoc_idTypeStatusActiveDate'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxAssociateIdTypeStatusActiveDate(int associateId, AppointmentType type, AppointmentStatus status, DateTime activeDate)
Parameters
Type | Name | Description |
---|---|---|
int | associateId | |
AppointmentType | type | |
AppointmentStatus | status | |
DateTime | activeDate |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxAssociateIdTypeStatusDoBy(int, AppointmentType, AppointmentStatus, DateTime)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IAssoc_idTypeStatusDo_by'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxAssociateIdTypeStatusDoBy(int associateId, AppointmentType type, AppointmentStatus status, DateTime doBy)
Parameters
Type | Name | Description |
---|---|---|
int | associateId | |
AppointmentType | type | |
AppointmentStatus | status | |
DateTime | doBy |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxAssociateIdTypeStatusDone(int, AppointmentType, AppointmentStatus, DateTime)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IAssoc_idTypeStatusDone'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxAssociateIdTypeStatusDone(int associateId, AppointmentType type, AppointmentStatus status, DateTime done)
Parameters
Type | Name | Description |
---|---|---|
int | associateId | |
AppointmentType | type | |
AppointmentStatus | status | |
DateTime | done |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxContactId(int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IDXAppntCont_id'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxContactId(int contactId)
Parameters
Type | Name | Description |
---|---|---|
int | contactId |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxContactIdType(int, AppointmentType)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'ICont_idType'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxContactIdType(int contactId, AppointmentType type)
Parameters
Type | Name | Description |
---|---|---|
int | contactId | |
AppointmentType | type |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxCreatedByWorkflowId(int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IDXAppntCreated_by_workflow_id'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxCreatedByWorkflowId(int createdByWorkflowId)
Parameters
Type | Name | Description |
---|---|---|
int | createdByWorkflowId |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxDoBy(DateTime)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IDXAppntDo_by'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxDoBy(DateTime doBy)
Parameters
Type | Name | Description |
---|---|---|
DateTime | doBy |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxDocumentId(int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IDXAppntDoc_id'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxDocumentId(int documentId)
Parameters
Type | Name | Description |
---|---|---|
int | documentId |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxDone(DateTime)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IDXAppntDone'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxDone(DateTime done)
Parameters
Type | Name | Description |
---|---|---|
DateTime | done |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxGroupIdx(int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IDXAppntGrp_idx'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxGroupIdx(int groupIdx)
Parameters
Type | Name | Description |
---|---|---|
int | groupIdx |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxMotherId(int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IDXAppntMother_id'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxMotherId(int motherId)
Parameters
Type | Name | Description |
---|---|---|
int | motherId |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxMotherIdStatus(int, AppointmentStatus)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IMother_idStatusActiveDateReg_idRegAssignedByGrp_idxTypeAssoc_idId'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxMotherIdStatus(int motherId, AppointmentStatus status)
Parameters
Type | Name | Description |
---|---|---|
int | motherId | |
AppointmentStatus | status |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxMotherIdStatusActiveDate(int, AppointmentStatus, DateTime)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IMother_idStatusActiveDateReg_idRegAssignedByGrp_idxTypeAssoc_idId'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxMotherIdStatusActiveDate(int motherId, AppointmentStatus status, DateTime activeDate)
Parameters
Type | Name | Description |
---|---|---|
int | motherId | |
AppointmentStatus | status | |
DateTime | activeDate |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxMotherIdStatusActiveDateRegisteredAssociateId(int, AppointmentStatus, DateTime, int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IMother_idStatusActiveDateReg_idRegAssignedByGrp_idxTypeAssoc_idId'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxMotherIdStatusActiveDateRegisteredAssociateId(int motherId, AppointmentStatus status, DateTime activeDate, int registeredAssociateId)
Parameters
Type | Name | Description |
---|---|---|
int | motherId | |
AppointmentStatus | status | |
DateTime | activeDate | |
int | registeredAssociateId |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxMotherIdStatusActiveDateRegisteredAssociateIdRegistered(int, AppointmentStatus, DateTime, int, DateTime)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IMother_idStatusActiveDateReg_idRegAssignedByGrp_idxTypeAssoc_idId'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxMotherIdStatusActiveDateRegisteredAssociateIdRegistered(int motherId, AppointmentStatus status, DateTime activeDate, int registeredAssociateId, DateTime registered)
Parameters
Type | Name | Description |
---|---|---|
int | motherId | |
AppointmentStatus | status | |
DateTime | activeDate | |
int | registeredAssociateId | |
DateTime | registered |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxMotherIdStatusActiveDateRegisteredAssociateIdRegisteredAssignedBy(int, AppointmentStatus, DateTime, int, DateTime, int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IMother_idStatusActiveDateReg_idRegAssignedByGrp_idxTypeAssoc_idId'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxMotherIdStatusActiveDateRegisteredAssociateIdRegisteredAssignedBy(int motherId, AppointmentStatus status, DateTime activeDate, int registeredAssociateId, DateTime registered, int assignedBy)
Parameters
Type | Name | Description |
---|---|---|
int | motherId | |
AppointmentStatus | status | |
DateTime | activeDate | |
int | registeredAssociateId | |
DateTime | registered | |
int | assignedBy |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxMotherIdStatusActiveDateRegisteredAssociateIdRegisteredAssignedByGroupIdx(int, AppointmentStatus, DateTime, int, DateTime, int, int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IMother_idStatusActiveDateReg_idRegAssignedByGrp_idxTypeAssoc_idId'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxMotherIdStatusActiveDateRegisteredAssociateIdRegisteredAssignedByGroupIdx(int motherId, AppointmentStatus status, DateTime activeDate, int registeredAssociateId, DateTime registered, int assignedBy, int groupIdx)
Parameters
Type | Name | Description |
---|---|---|
int | motherId | |
AppointmentStatus | status | |
DateTime | activeDate | |
int | registeredAssociateId | |
DateTime | registered | |
int | assignedBy | |
int | groupIdx |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxMotherIdStatusActiveDateRegisteredAssociateIdRegisteredAssignedByGroupIdxType(int, AppointmentStatus, DateTime, int, DateTime, int, int, AppointmentType)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IMother_idStatusActiveDateReg_idRegAssignedByGrp_idxTypeAssoc_idId'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxMotherIdStatusActiveDateRegisteredAssociateIdRegisteredAssignedByGroupIdxType(int motherId, AppointmentStatus status, DateTime activeDate, int registeredAssociateId, DateTime registered, int assignedBy, int groupIdx, AppointmentType type)
Parameters
Type | Name | Description |
---|---|---|
int | motherId | |
AppointmentStatus | status | |
DateTime | activeDate | |
int | registeredAssociateId | |
DateTime | registered | |
int | assignedBy | |
int | groupIdx | |
AppointmentType | type |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxMotherIdStatusActiveDateRegisteredAssociateIdRegisteredAssignedByGroupIdxTypeAssociateId(int, AppointmentStatus, DateTime, int, DateTime, int, int, AppointmentType, int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IMother_idStatusActiveDateReg_idRegAssignedByGrp_idxTypeAssoc_idId'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxMotherIdStatusActiveDateRegisteredAssociateIdRegisteredAssignedByGroupIdxTypeAssociateId(int motherId, AppointmentStatus status, DateTime activeDate, int registeredAssociateId, DateTime registered, int assignedBy, int groupIdx, AppointmentType type, int associateId)
Parameters
Type | Name | Description |
---|---|---|
int | motherId | |
AppointmentStatus | status | |
DateTime | activeDate | |
int | registeredAssociateId | |
DateTime | registered | |
int | assignedBy | |
int | groupIdx | |
AppointmentType | type | |
int | associateId |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxPersonId(int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IDXAppntPers_id'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxPersonId(int personId)
Parameters
Type | Name | Description |
---|---|---|
int | personId |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxProjectId(int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IDXAppntProj_id'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxProjectId(int projectId)
Parameters
Type | Name | Description |
---|---|---|
int | projectId |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxProjectIdType(int, AppointmentType)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IProj_idType'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxProjectIdType(int projectId, AppointmentType type)
Parameters
Type | Name | Description |
---|---|---|
int | projectId | |
AppointmentType | type |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxProjectIdTypeActiveDate(int, AppointmentType, DateTime)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IProj_idTypeActiveDateDoc_idAssoc_idGrp_idxMother_idAssignedByIdRegReg_id'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxProjectIdTypeActiveDate(int projectId, AppointmentType type, DateTime activeDate)
Parameters
Type | Name | Description |
---|---|---|
int | projectId | |
AppointmentType | type | |
DateTime | activeDate |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxProjectIdTypeActiveDateDocumentId(int, AppointmentType, DateTime, int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IProj_idTypeActiveDateDoc_idAssoc_idGrp_idxMother_idAssignedByIdRegReg_id'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxProjectIdTypeActiveDateDocumentId(int projectId, AppointmentType type, DateTime activeDate, int documentId)
Parameters
Type | Name | Description |
---|---|---|
int | projectId | |
AppointmentType | type | |
DateTime | activeDate | |
int | documentId |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxProjectIdTypeActiveDateDocumentIdAssociateId(int, AppointmentType, DateTime, int, int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IProj_idTypeActiveDateDoc_idAssoc_idGrp_idxMother_idAssignedByIdRegReg_id'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxProjectIdTypeActiveDateDocumentIdAssociateId(int projectId, AppointmentType type, DateTime activeDate, int documentId, int associateId)
Parameters
Type | Name | Description |
---|---|---|
int | projectId | |
AppointmentType | type | |
DateTime | activeDate | |
int | documentId | |
int | associateId |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxProjectIdTypeActiveDateDocumentIdAssociateIdGroupIdx(int, AppointmentType, DateTime, int, int, int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IProj_idTypeActiveDateDoc_idAssoc_idGrp_idxMother_idAssignedByIdRegReg_id'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxProjectIdTypeActiveDateDocumentIdAssociateIdGroupIdx(int projectId, AppointmentType type, DateTime activeDate, int documentId, int associateId, int groupIdx)
Parameters
Type | Name | Description |
---|---|---|
int | projectId | |
AppointmentType | type | |
DateTime | activeDate | |
int | documentId | |
int | associateId | |
int | groupIdx |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxProjectIdTypeActiveDateDocumentIdAssociateIdGroupIdxMotherId(int, AppointmentType, DateTime, int, int, int, int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IProj_idTypeActiveDateDoc_idAssoc_idGrp_idxMother_idAssignedByIdRegReg_id'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxProjectIdTypeActiveDateDocumentIdAssociateIdGroupIdxMotherId(int projectId, AppointmentType type, DateTime activeDate, int documentId, int associateId, int groupIdx, int motherId)
Parameters
Type | Name | Description |
---|---|---|
int | projectId | |
AppointmentType | type | |
DateTime | activeDate | |
int | documentId | |
int | associateId | |
int | groupIdx | |
int | motherId |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxProjectIdTypeActiveDateDocumentIdAssociateIdGroupIdxMotherIdAssignedBy(int, AppointmentType, DateTime, int, int, int, int, int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IProj_idTypeActiveDateDoc_idAssoc_idGrp_idxMother_idAssignedByIdRegReg_id'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxProjectIdTypeActiveDateDocumentIdAssociateIdGroupIdxMotherIdAssignedBy(int projectId, AppointmentType type, DateTime activeDate, int documentId, int associateId, int groupIdx, int motherId, int assignedBy)
Parameters
Type | Name | Description |
---|---|---|
int | projectId | |
AppointmentType | type | |
DateTime | activeDate | |
int | documentId | |
int | associateId | |
int | groupIdx | |
int | motherId | |
int | assignedBy |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxRecurrenceRuleId(int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IRecurrenceRuleIdActiveDateAssoc_id'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxRecurrenceRuleId(int recurrenceRuleId)
Parameters
Type | Name | Description |
---|---|---|
int | recurrenceRuleId |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxRecurrenceRuleIdActiveDate(int, DateTime)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IRecurrenceRuleIdActiveDateAssoc_id'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxRecurrenceRuleIdActiveDate(int recurrenceRuleId, DateTime activeDate)
Parameters
Type | Name | Description |
---|---|---|
int | recurrenceRuleId | |
DateTime | activeDate |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxRecurrenceRuleIdActiveDateAssociateId(int, DateTime, int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IRecurrenceRuleIdActiveDateAssoc_id'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxRecurrenceRuleIdActiveDateAssociateId(int recurrenceRuleId, DateTime activeDate, int associateId)
Parameters
Type | Name | Description |
---|---|---|
int | recurrenceRuleId | |
DateTime | activeDate | |
int | associateId |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxRecurrenceRuleIdActiveDateMotherId(int, DateTime, int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IRecurrenceRuleIdActiveDateMother_id'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxRecurrenceRuleIdActiveDateMotherId(int recurrenceRuleId, DateTime activeDate, int motherId)
Parameters
Type | Name | Description |
---|---|---|
int | recurrenceRuleId | |
DateTime | activeDate | |
int | motherId |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxSaleId(int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IDXAppntSale_id'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxSaleId(int saleId)
Parameters
Type | Name | Description |
---|---|---|
int | saleId |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxSource(short)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IDXAppntSource'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxSource(short source)
Parameters
Type | Name | Description |
---|---|---|
short | source |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxSuggestedAppointmentId(int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IDXAppntSuggestedAppointmentId'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxSuggestedAppointmentId(int suggestedAppointmentId)
Parameters
Type | Name | Description |
---|---|---|
int | suggestedAppointmentId |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxSuggestedDocumentId(int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IDXAppntSuggestedDocumentId'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxSuggestedDocumentId(int suggestedDocumentId)
Parameters
Type | Name | Description |
---|---|---|
int | suggestedDocumentId |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxTextId(int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IDXAppntText_id'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxTextId(int textId)
Parameters
Type | Name | Description |
---|---|---|
int | textId |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxType(AppointmentType)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'ITypeActiveDate'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxType(AppointmentType type)
Parameters
Type | Name | Description |
---|---|---|
AppointmentType | type |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxTypeActiveDate(AppointmentType, DateTime)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'ITypeActiveDate'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxTypeActiveDate(AppointmentType type, DateTime activeDate)
Parameters
Type | Name | Description |
---|---|---|
AppointmentType | type | |
DateTime | activeDate |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxUserdef2Id(int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IDXAppntUdef2_id'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxUserdef2Id(int userdef2Id)
Parameters
Type | Name | Description |
---|---|---|
int | userdef2Id |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromIdxUserdefId(int)
Create a new instance of the AppointmentRow object, by querying the database table via the index 'IDXAppntUdef_id'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static AppointmentRows GetFromIdxUserdefId(int userdefId)
Parameters
Type | Name | Description |
---|---|---|
int | userdefId |
Returns
Type | Description |
---|---|
AppointmentRows | 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 Appointment table. Non-unique indexes have corresponding inner classes and methods in the AppointmentRows collection, since they may return more than one row.
GetFromReader(SoDataReader, AppointmentTableInfo)
Create a new instance of the AppointmentRows object, and populate it with data from a reader. If the search returns no results, an empty collection will be returned; if the result contains rows, a collection of AppointmentRow objects representing each row will be returned.
Note that the internal logic starts by calling reader.Read(), which is correct if you hand the method the result of an ExecuteReader(), but if the reader has already been advanced one or more rows, the current row will be skipped and collection population will start with the next row.Declaration
public static AppointmentRows GetFromReader(SoDataReader reader, AppointmentTableInfo tableInfo)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | SoDataReader positioned to a valid database row. |
AppointmentTableInfo | tableInfo | AppointmentTableInfo 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 |
---|---|
AppointmentRows |
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type AppointmentRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) AppointmentRows AppointmentRows.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(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
Remove(AppointmentRow)
Removes the given AppointmentRow from the collection
Declaration
public void Remove(AppointmentRow row)
Parameters
Type | Name | Description |
---|---|---|
AppointmentRow | row | the AppointmentRow to be removed |
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type AppointmentRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) AppointmentRows AppointmentRows.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(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
ToArray()
Tasks, appointments, followups, phone calls; and documents (document_id != 0). An appointment always has a corresponding record in VisibleFor specifying who may see this. Collection of AppointmentRow. Each element of the collection represents one row in the Appointment table.
Declaration
public AppointmentRow[] ToArray()
Returns
Type | Description |
---|---|
AppointmentRow[] |
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type AppointmentRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) AppointmentRows AppointmentRows.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(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.
ToString()
For debugging: Number of members, and the first (up to) 5 items
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
Remarks
Row collections can be created in several ways.
- Use the static CreateNew() method to create a new, empty collection. You can then add objects of type AppointmentRow to it, and use methods like Save to operate on the whole collection.
- You can create a (nested) AppointmentRows AppointmentRows.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(CustomSearch) method to apply the query to the database and obtain the result as a Rows object, with one item for each table row that matched your query.
- For each non-unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy.