Show / Hide Table of Contents

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
Object
NestedPersist
NestedPersistFacade
NestedCollectionPersist
TableRowsBase
AppointmentRows
Implements
INestedPersist
IEnumerable<INestedPersist>
ISoCollection
IList
ICollection
IEnumerable
INotifyCollectionChanged
IBindingList
Inherited Members
TableRowsBase._innerList
TableRowsBase._allHasBeenMarkedForDelete
TableRowsBase._sentries
TableRowsBase._idx
TableRowsBase.OnIndexChanged(IdxBase)
TableRowsBase.Load(IdxBase)
TableRowsBase.RowsLoad()
TableRowsBase.RowsLoad(ITableRowLoadHandlerFactory)
TableRowsBase.Delete()
TableRowsBase.GetEnumerator()
TableRowsBase.Add(TableRowBase)
TableRowsBase.Remove(TableRowBase)
TableRowsBase.Clear()
TableRowsBase.Sort(IComparer)
TableRowsBase.GetPrimaryKeys()
TableRowsBase.OnAdded(Object, Int32)
TableRowsBase.ISoCollection.Add(ISoItem)
TableRowsBase.ISoCollection.AddNew()
TableRowsBase.IList.get_Item(Int32)
TableRowsBase.IList.set_Item(Int32, Object)
TableRowsBase.CopyTo(Array, Int32)
TableRowsBase.IList.Add(Object)
TableRowsBase.IList.Remove(Object)
TableRowsBase.IndexOf(Object)
TableRowsBase.Contains(Object)
TableRowsBase.IList.Clear()
TableRowsBase.IList.Insert(Int32, Object)
TableRowsBase.IList.RemoveAt(Int32)
TableRowsBase.AddIndex(PropertyDescriptor)
TableRowsBase.ApplySort(PropertyDescriptor, ListSortDirection)
TableRowsBase.Find(PropertyDescriptor, Object)
TableRowsBase.RemoveIndex(PropertyDescriptor)
TableRowsBase.RemoveSort()
TableRowsBase.Sentries
TableRowsBase.IsDirty
TableRowsBase.Index
TableRowsBase.Count
TableRowsBase.IsMarkedForDelete
TableRowsBase.IList.Item[Int32]
TableRowsBase.ICollection.Count
TableRowsBase.IsFixedSize
TableRowsBase.IsReadOnly
TableRowsBase.ICollection.IsSynchronized
TableRowsBase.ICollection.SyncRoot
TableRowsBase.AllowEdit
TableRowsBase.AllowNew
TableRowsBase.AllowRemove
TableRowsBase.IsSorted
TableRowsBase.SortDirection
TableRowsBase.SortProperty
TableRowsBase.SupportsChangeNotification
TableRowsBase.SupportsSearching
TableRowsBase.SupportsSorting
TableRowsBase._onCollectionChanged
TableRowsBase.CollectionChanged
TableRowsBase.ListChanged
NestedCollectionPersist.GetFacadingItems()
NestedCollectionPersist.IEnumerable<INestedPersist>.GetEnumerator()
NestedCollectionPersist.IsDeleted
NestedPersistFacade.OnPreIdUpdate()
NestedPersistFacade.OnPrimaryKeyRequest(PKContainer)
NestedPersistFacade.OnPrimaryKeyUpdate(PKContainer)
NestedPersistFacade.OnIdUpdate()
NestedPersistFacade.OnSave(BatchSave)
NestedPersistFacade.OnSaved(Boolean)
NestedPersist._saveOwner
NestedPersist._isSaving
NestedPersist.SetSaveOwner(INestedPersist)
NestedPersist.Save()
NestedPersist.INestedPersist.OnPreIdUpdate()
NestedPersist.INestedPersist.OnPrimaryKeyRequest(PKContainer)
NestedPersist.INestedPersist.OnPrimaryKeyUpdate(PKContainer)
NestedPersist.INestedPersist.OnIdUpdate()
NestedPersist.INestedPersist.OnSave(BatchSave)
NestedPersist.INestedPersist.OnSaved(Boolean)
NestedPersist.IsSaving
NestedPersist.OnElementSaved
NestedPersist.OnElementIdUpdate
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class AppointmentRows : TableRowsBase, INestedPersist, IEnumerable<INestedPersist>, ISoCollection, IList, ICollection, IEnumerable, INotifyCollectionChanged, IBindingList
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 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(AppointmentRows.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.
Unique indexes are handled through the AppointmentRow object directly, which has nested classes and GetFromIdx methods for each unique index. Similarly, there is a GetFromReader(SoDataReader, AppointmentTableInfo) method to retrieve the results of queries that return more than one row (this method will iterate over the reader to fetch ALL results, so beware of fetching huge result sets).

Properties

Item[Int32]

Get a AppointmentRow given its index in the collection.

Declaration
public AppointmentRow this[int index] { get; }
Parameters
Type Name Description
Int32 index

Index of the AppointmentRow in the collection

Property Value
Type Description
AppointmentRow

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
Int32

The index of the added AppointmentRow.

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.

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.

CreateChild()

Create a new instance of AppointmentRow

Declaration
protected override TableRowBase CreateChild()
Returns
Type Description
TableRowBase

New instance of AppointmentRow

Overrides
TableRowsBase.CreateChild()

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.

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

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

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

GetFromCustomSearch(AppointmentRows.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.

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. 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(Int32)

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
Int32 associateId
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, 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
Int32 associateId
DateTime activeDate
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, DateTime, Int32)

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
Int32 associateId
DateTime activeDate
Int32 motherId
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, 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
Int32 associateId
AppointmentType type
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, 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
Int32 associateId
AppointmentType type
DateTime endDate
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, 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
Int32 associateId
AppointmentType type
DateTime endDate
DateTime doBy
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, 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
Int32 associateId
AppointmentType type
AppointmentStatus status
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, 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
Int32 associateId
AppointmentType type
AppointmentStatus status
DateTime activeDate
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, 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
Int32 associateId
AppointmentType type
AppointmentStatus status
DateTime doBy
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, 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
Int32 associateId
AppointmentType type
AppointmentStatus status
DateTime done
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32)

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
Int32 contactId
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, 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
Int32 contactId
AppointmentType type
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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. 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(Int32)

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
Int32 documentId
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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. 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(Int32)

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
Int32 groupIdx
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32)

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
Int32 motherId
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, 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
Int32 motherId
AppointmentStatus status
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, 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
Int32 motherId
AppointmentStatus status
DateTime activeDate
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, AppointmentStatus, DateTime, Int32)

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
Int32 motherId
AppointmentStatus status
DateTime activeDate
Int32 registeredAssociateId
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, AppointmentStatus, DateTime, Int32, 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
Int32 motherId
AppointmentStatus status
DateTime activeDate
Int32 registeredAssociateId
DateTime registered
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, AppointmentStatus, DateTime, Int32, DateTime, Int32)

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
Int32 motherId
AppointmentStatus status
DateTime activeDate
Int32 registeredAssociateId
DateTime registered
Int32 assignedBy
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, AppointmentStatus, DateTime, Int32, DateTime, Int32, Int32)

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
Int32 motherId
AppointmentStatus status
DateTime activeDate
Int32 registeredAssociateId
DateTime registered
Int32 assignedBy
Int32 groupIdx
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, AppointmentStatus, DateTime, Int32, DateTime, Int32, Int32, 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
Int32 motherId
AppointmentStatus status
DateTime activeDate
Int32 registeredAssociateId
DateTime registered
Int32 assignedBy
Int32 groupIdx
AppointmentType type
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, AppointmentStatus, DateTime, Int32, DateTime, Int32, Int32, AppointmentType, Int32)

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
Int32 motherId
AppointmentStatus status
DateTime activeDate
Int32 registeredAssociateId
DateTime registered
Int32 assignedBy
Int32 groupIdx
AppointmentType type
Int32 associateId
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32)

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
Int32 personId
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32)

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
Int32 projectId
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, 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
Int32 projectId
AppointmentType type
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, 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
Int32 projectId
AppointmentType type
DateTime activeDate
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, AppointmentType, DateTime, Int32)

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
Int32 projectId
AppointmentType type
DateTime activeDate
Int32 documentId
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, AppointmentType, DateTime, Int32, Int32)

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
Int32 projectId
AppointmentType type
DateTime activeDate
Int32 documentId
Int32 associateId
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, AppointmentType, DateTime, Int32, Int32, Int32)

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
Int32 projectId
AppointmentType type
DateTime activeDate
Int32 documentId
Int32 associateId
Int32 groupIdx
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, AppointmentType, DateTime, Int32, Int32, Int32, Int32)

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
Int32 projectId
AppointmentType type
DateTime activeDate
Int32 documentId
Int32 associateId
Int32 groupIdx
Int32 motherId
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, AppointmentType, DateTime, Int32, Int32, Int32, Int32, Int32)

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
Int32 projectId
AppointmentType type
DateTime activeDate
Int32 documentId
Int32 associateId
Int32 groupIdx
Int32 motherId
Int32 assignedBy
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32)

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
Int32 recurrenceRuleId
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, 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
Int32 recurrenceRuleId
DateTime activeDate
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, DateTime, Int32)

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
Int32 recurrenceRuleId
DateTime activeDate
Int32 associateId
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32, DateTime, Int32)

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
Int32 recurrenceRuleId
DateTime activeDate
Int32 motherId
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32)

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
Int32 saleId
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int16)

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
Int16 source
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32)

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
Int32 suggestedAppointmentId
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32)

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
Int32 suggestedDocumentId
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32)

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
Int32 textId
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32)

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
Int32 userdef2Id
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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(Int32)

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
Int32 userdefId
Returns
Type Description
AppointmentRows

Row object that represents the result of the search. 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

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

ToArray()

Declaration
public AppointmentRow[] ToArray()
Returns
Type Description
AppointmentRow[]

ToString()

For debugging: Number of members, and the first (up to) 5 items

Declaration
public override string ToString()
Returns
Type Description
String
Overrides
Object.ToString()

Implements

INestedPersist
System.Collections.Generic.IEnumerable<T>
ISoCollection
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
System.Collections.Specialized.INotifyCollectionChanged
System.ComponentModel.IBindingList

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Back to top