Show / Hide Table of Contents

Class ProjectMemberCollection

Link-table between person and project

Collection of ProjectMember. Each element of the collection represents one entity based on ProjectMember.
Inheritance
object
NestedPersist
NestedPersistFacade
NestedCollectionPersist
EntityCollectionBase
ProjectMemberCollection
Implements
INestedPersist
IEnumerable<INestedPersist>
INotifyCollectionChanged
IBindingList
IList
ICollection
IEnumerable
Inherited Members
EntityCollectionBase._innerList
EntityCollectionBase.DeleteAsync()
EntityCollectionBase.GetEnumerator()
EntityCollectionBase.Add(EntityBase)
EntityCollectionBase.Remove(EntityBase)
EntityCollectionBase.CopyTo(Array, int)
EntityCollectionBase.IndexOf(object)
EntityCollectionBase.Contains(object)
EntityCollectionBase.AddIndex(PropertyDescriptor)
EntityCollectionBase.ApplySort(PropertyDescriptor, ListSortDirection)
EntityCollectionBase.Find(PropertyDescriptor, object)
EntityCollectionBase.RemoveIndex(PropertyDescriptor)
EntityCollectionBase.RemoveSort()
EntityCollectionBase.IsDirty
EntityCollectionBase.Count
EntityCollectionBase.IsFixedSize
EntityCollectionBase.IsReadOnly
EntityCollectionBase.AllowEdit
EntityCollectionBase.AllowNew
EntityCollectionBase.AllowRemove
EntityCollectionBase.IsSorted
EntityCollectionBase.SortDirection
EntityCollectionBase.SortProperty
EntityCollectionBase.SupportsChangeNotification
EntityCollectionBase.SupportsSearching
EntityCollectionBase.SupportsSorting
EntityCollectionBase.CollectionChanged
EntityCollectionBase.ListChanged
NestedCollectionPersist.GetFacadingItems()
NestedCollectionPersist.IsDeleted
NestedPersistFacade.OnPreIdUpdateAsync()
NestedPersistFacade.OnPrimaryKeyRequestAsync(PKContainer)
NestedPersistFacade.OnPrimaryKeyUpdateAsync(PKContainer)
NestedPersistFacade.OnIdUpdateAsync()
NestedPersistFacade.OnSaveAsync(BatchSave)
NestedPersistFacade.OnSavedAsync(bool)
NestedPersist._saveOwner
NestedPersist._isSaving
NestedPersist.SetSaveOwner(INestedPersist)
NestedPersist.SaveAsync()
NestedPersist.IsSaving
NestedPersist.IsMarkedForDelete
NestedPersist.OnElementSaved
NestedPersist.OnElementIdUpdate
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Entities
Assembly: SoDataBase.dll
Syntax
public class ProjectMemberCollection : EntityCollectionBase, INestedPersist, IEnumerable<INestedPersist>, INotifyCollectionChanged, IBindingList, IList, ICollection, IEnumerable
Remarks

Entity 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 SuperOffice.CRM.Rows.ProjectMember to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectMemberCollection ProjectMemberCollection.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 an EntityCollection 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 ProjectMember object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table ProjectMember are:
Index fieldsNested index class name
ProjectmemberIdProjectmemberId:

Primary key

Nested index class: ProjectMember.IdxProjectmemberId

Static Get method: SuperOffice.CRM.Entities.ProjectMember.GetFromIdxProjectmemberId
Non-unique indexes on table ProjectMember are:
Index fieldsNested index class name
PersonIdPersonId:

person_id

Nested index class: ProjectMemberCollection.IdxPersonId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxPersonId
ContactIdContactId:

contact_id of person (denormalisation!)

Nested index class: ProjectMemberCollection.IdxContactId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxContactId
ProjectId, RankProjectId:

Parent project

Rank:

Rank in list (starts over for each project)

Nested index class: ProjectMemberCollection.IdxProjectIdRank

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxProjectIdRank

Constructors

ProjectMemberCollection(ProjectMemberCollectionIdx)

Constructor for class ProjectMemberCollection.
This object represents a collection of rows in table 'projectmember'. Table contact: Project members

Declaration
protected ProjectMemberCollection(ProjectMemberCollection.ProjectMemberCollectionIdx idx)
Parameters
Type Name Description
ProjectMemberCollection.ProjectMemberCollectionIdx idx
Remarks

Entity 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 SuperOffice.CRM.Rows.ProjectMember to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectMemberCollection ProjectMemberCollection.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 an EntityCollection 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 ProjectMember object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table ProjectMember are:
Index fieldsNested index class name
ProjectmemberIdProjectmemberId:

Primary key

Nested index class: ProjectMember.IdxProjectmemberId

Static Get method: SuperOffice.CRM.Entities.ProjectMember.GetFromIdxProjectmemberId
Non-unique indexes on table ProjectMember are:
Index fieldsNested index class name
PersonIdPersonId:

person_id

Nested index class: ProjectMemberCollection.IdxPersonId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxPersonId
ContactIdContactId:

contact_id of person (denormalisation!)

Nested index class: ProjectMemberCollection.IdxContactId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxContactId
ProjectId, RankProjectId:

Parent project

Rank:

Rank in list (starts over for each project)

Nested index class: ProjectMemberCollection.IdxProjectIdRank

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxProjectIdRank

Fields

_idx

Fetcher class the collection is based on

Declaration
protected ProjectMemberCollection.ProjectMemberCollectionIdx _idx
Field Value
Type Description
ProjectMemberCollection.ProjectMemberCollectionIdx
Remarks

Entity 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 SuperOffice.CRM.Rows.ProjectMember to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectMemberCollection ProjectMemberCollection.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 an EntityCollection 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 ProjectMember object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table ProjectMember are:
Index fieldsNested index class name
ProjectmemberIdProjectmemberId:

Primary key

Nested index class: ProjectMember.IdxProjectmemberId

Static Get method: SuperOffice.CRM.Entities.ProjectMember.GetFromIdxProjectmemberId
Non-unique indexes on table ProjectMember are:
Index fieldsNested index class name
PersonIdPersonId:

person_id

Nested index class: ProjectMemberCollection.IdxPersonId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxPersonId
ContactIdContactId:

contact_id of person (denormalisation!)

Nested index class: ProjectMemberCollection.IdxContactId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxContactId
ProjectId, RankProjectId:

Parent project

Rank:

Rank in list (starts over for each project)

Nested index class: ProjectMemberCollection.IdxProjectIdRank

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxProjectIdRank

_rows

Row objects that the collection is based on.

Declaration
protected ProjectMemberRows _rows
Field Value
Type Description
ProjectMemberRows
Remarks

Entity 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 SuperOffice.CRM.Rows.ProjectMember to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectMemberCollection ProjectMemberCollection.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 an EntityCollection 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 ProjectMember object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table ProjectMember are:
Index fieldsNested index class name
ProjectmemberIdProjectmemberId:

Primary key

Nested index class: ProjectMember.IdxProjectmemberId

Static Get method: SuperOffice.CRM.Entities.ProjectMember.GetFromIdxProjectmemberId
Non-unique indexes on table ProjectMember are:
Index fieldsNested index class name
PersonIdPersonId:

person_id

Nested index class: ProjectMemberCollection.IdxPersonId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxPersonId
ContactIdContactId:

contact_id of person (denormalisation!)

Nested index class: ProjectMemberCollection.IdxContactId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxContactId
ProjectId, RankProjectId:

Parent project

Rank:

Rank in list (starts over for each project)

Nested index class: ProjectMemberCollection.IdxProjectIdRank

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxProjectIdRank

Properties

Index

Retrieve the index for ProjectMemberCollection

Declaration
public ProjectMemberCollection.ProjectMemberCollectionIdx Index { get; }
Property Value
Type Description
ProjectMemberCollection.ProjectMemberCollectionIdx
Remarks

Entity 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 SuperOffice.CRM.Rows.ProjectMember to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectMemberCollection ProjectMemberCollection.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 an EntityCollection 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 ProjectMember object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table ProjectMember are:
Index fieldsNested index class name
ProjectmemberIdProjectmemberId:

Primary key

Nested index class: ProjectMember.IdxProjectmemberId

Static Get method: SuperOffice.CRM.Entities.ProjectMember.GetFromIdxProjectmemberId
Non-unique indexes on table ProjectMember are:
Index fieldsNested index class name
PersonIdPersonId:

person_id

Nested index class: ProjectMemberCollection.IdxPersonId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxPersonId
ContactIdContactId:

contact_id of person (denormalisation!)

Nested index class: ProjectMemberCollection.IdxContactId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxContactId
ProjectId, RankProjectId:

Parent project

Rank:

Rank in list (starts over for each project)

Nested index class: ProjectMemberCollection.IdxProjectIdRank

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxProjectIdRank

this[int]

Get a ProjectMember from the collection from its zero-based index.

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

Zero-based index in the collection.

Property Value
Type Description
ProjectMember
Remarks

Entity 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 SuperOffice.CRM.Rows.ProjectMember to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectMemberCollection ProjectMemberCollection.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 an EntityCollection 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 ProjectMember object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table ProjectMember are:
Index fieldsNested index class name
ProjectmemberIdProjectmemberId:

Primary key

Nested index class: ProjectMember.IdxProjectmemberId

Static Get method: SuperOffice.CRM.Entities.ProjectMember.GetFromIdxProjectmemberId
Non-unique indexes on table ProjectMember are:
Index fieldsNested index class name
PersonIdPersonId:

person_id

Nested index class: ProjectMemberCollection.IdxPersonId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxPersonId
ContactIdContactId:

contact_id of person (denormalisation!)

Nested index class: ProjectMemberCollection.IdxContactId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxContactId
ProjectId, RankProjectId:

Parent project

Rank:

Rank in list (starts over for each project)

Nested index class: ProjectMemberCollection.IdxProjectIdRank

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxProjectIdRank

Rows

The ecapsulated object ProjectMemberRows.

Declaration
public ProjectMemberRows Rows { get; }
Property Value
Type Description
ProjectMemberRows
Remarks

Entity 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 SuperOffice.CRM.Rows.ProjectMember to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectMemberCollection ProjectMemberCollection.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 an EntityCollection 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 ProjectMember object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table ProjectMember are:
Index fieldsNested index class name
ProjectmemberIdProjectmemberId:

Primary key

Nested index class: ProjectMember.IdxProjectmemberId

Static Get method: SuperOffice.CRM.Entities.ProjectMember.GetFromIdxProjectmemberId
Non-unique indexes on table ProjectMember are:
Index fieldsNested index class name
PersonIdPersonId:

person_id

Nested index class: ProjectMemberCollection.IdxPersonId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxPersonId
ContactIdContactId:

contact_id of person (denormalisation!)

Nested index class: ProjectMemberCollection.IdxContactId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxContactId
ProjectId, RankProjectId:

Parent project

Rank:

Rank in list (starts over for each project)

Nested index class: ProjectMemberCollection.IdxProjectIdRank

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxProjectIdRank

Sentries

The collection of sentries that are guarding this collection of rows. This collection is used by RDB entities which return HDB collections.

For example, the contact.Faxes returns a PhoneRows collection in which each row will need to check the contact's sentry for permission to read/write their field

Declaration
public override SentryCollection Sentries { get; }
Property Value
Type Description
SentryCollection
Overrides
EntityCollectionBase.Sentries
Remarks

Entity 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 SuperOffice.CRM.Rows.ProjectMember to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectMemberCollection ProjectMemberCollection.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 an EntityCollection 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 ProjectMember object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table ProjectMember are:
Index fieldsNested index class name
ProjectmemberIdProjectmemberId:

Primary key

Nested index class: ProjectMember.IdxProjectmemberId

Static Get method: SuperOffice.CRM.Entities.ProjectMember.GetFromIdxProjectmemberId
Non-unique indexes on table ProjectMember are:
Index fieldsNested index class name
PersonIdPersonId:

person_id

Nested index class: ProjectMemberCollection.IdxPersonId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxPersonId
ContactIdContactId:

contact_id of person (denormalisation!)

Nested index class: ProjectMemberCollection.IdxContactId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxContactId
ProjectId, RankProjectId:

Parent project

Rank:

Rank in list (starts over for each project)

Nested index class: ProjectMemberCollection.IdxProjectIdRank

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxProjectIdRank

Methods

Add(ProjectMember)

Add one ProjectMember to the collection.

Declaration
public int Add(ProjectMember projectMember)
Parameters
Type Name Description
ProjectMember projectMember

An instance of ProjectMember to be added to the collection.

Returns
Type Description
int

The index of the added ProjectMember.

Remarks

Entity 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 SuperOffice.CRM.Rows.ProjectMember to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectMemberCollection ProjectMemberCollection.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 an EntityCollection 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 ProjectMember object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table ProjectMember are:
Index fieldsNested index class name
ProjectmemberIdProjectmemberId:

Primary key

Nested index class: ProjectMember.IdxProjectmemberId

Static Get method: SuperOffice.CRM.Entities.ProjectMember.GetFromIdxProjectmemberId
Non-unique indexes on table ProjectMember are:
Index fieldsNested index class name
PersonIdPersonId:

person_id

Nested index class: ProjectMemberCollection.IdxPersonId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxPersonId
ContactIdContactId:

contact_id of person (denormalisation!)

Nested index class: ProjectMemberCollection.IdxContactId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxContactId
ProjectId, RankProjectId:

Parent project

Rank:

Rank in list (starts over for each project)

Nested index class: ProjectMemberCollection.IdxProjectIdRank

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxProjectIdRank

AddNew()

Get a new instance of ProjectMember added to the collection.

Declaration
public ProjectMember AddNew()
Returns
Type Description
ProjectMember

A new instance of ProjectMember added to the collection.

Remarks

Entity 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 SuperOffice.CRM.Rows.ProjectMember to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectMemberCollection ProjectMemberCollection.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 an EntityCollection 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 ProjectMember object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table ProjectMember are:
Index fieldsNested index class name
ProjectmemberIdProjectmemberId:

Primary key

Nested index class: ProjectMember.IdxProjectmemberId

Static Get method: SuperOffice.CRM.Entities.ProjectMember.GetFromIdxProjectmemberId
Non-unique indexes on table ProjectMember are:
Index fieldsNested index class name
PersonIdPersonId:

person_id

Nested index class: ProjectMemberCollection.IdxPersonId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxPersonId
ContactIdContactId:

contact_id of person (denormalisation!)

Nested index class: ProjectMemberCollection.IdxContactId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxContactId
ProjectId, RankProjectId:

Parent project

Rank:

Rank in list (starts over for each project)

Nested index class: ProjectMemberCollection.IdxProjectIdRank

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxProjectIdRank

CreateChild()

Create a new instance of ProjectMember

Declaration
protected override EntityBase CreateChild()
Returns
Type Description
EntityBase

New instance of ProjectMember

Overrides
EntityCollectionBase.CreateChild()
Remarks

Entity 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 SuperOffice.CRM.Rows.ProjectMember to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectMemberCollection ProjectMemberCollection.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 an EntityCollection 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 ProjectMember object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table ProjectMember are:
Index fieldsNested index class name
ProjectmemberIdProjectmemberId:

Primary key

Nested index class: ProjectMember.IdxProjectmemberId

Static Get method: SuperOffice.CRM.Entities.ProjectMember.GetFromIdxProjectmemberId
Non-unique indexes on table ProjectMember are:
Index fieldsNested index class name
PersonIdPersonId:

person_id

Nested index class: ProjectMemberCollection.IdxPersonId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxPersonId
ContactIdContactId:

contact_id of person (denormalisation!)

Nested index class: ProjectMemberCollection.IdxContactId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxContactId
ProjectId, RankProjectId:

Parent project

Rank:

Rank in list (starts over for each project)

Nested index class: ProjectMemberCollection.IdxProjectIdRank

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxProjectIdRank

CreateNew()

Create a new instance of the ProjectMemberCollection.

Declaration
public static ProjectMemberCollection CreateNew()
Returns
Type Description
ProjectMemberCollection

A new instance of the ProjectMemberCollection.

Remarks

Entity 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 SuperOffice.CRM.Rows.ProjectMember to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectMemberCollection ProjectMemberCollection.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 an EntityCollection 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 ProjectMember object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table ProjectMember are:
Index fieldsNested index class name
ProjectmemberIdProjectmemberId:

Primary key

Nested index class: ProjectMember.IdxProjectmemberId

Static Get method: SuperOffice.CRM.Entities.ProjectMember.GetFromIdxProjectmemberId
Non-unique indexes on table ProjectMember are:
Index fieldsNested index class name
PersonIdPersonId:

person_id

Nested index class: ProjectMemberCollection.IdxPersonId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxPersonId
ContactIdContactId:

contact_id of person (denormalisation!)

Nested index class: ProjectMemberCollection.IdxContactId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxContactId
ProjectId, RankProjectId:

Parent project

Rank:

Rank in list (starts over for each project)

Nested index class: ProjectMemberCollection.IdxProjectIdRank

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxProjectIdRank

GetFromCustomSearch(CustomSearch)

Create a new instance of the ProjectMemberCollection 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 ProjectMemberRow objects representing each row will be returned.

Declaration
public static ProjectMemberCollection GetFromCustomSearch(ProjectMemberCollection.CustomSearch query)
Parameters
Type Name Description
ProjectMemberCollection.CustomSearch query

The custom search to execute against the database

Returns
Type Description
ProjectMemberCollection

A new instance of the ProjectMemberCollection object, reflecting the result of the query.

Remarks

Entity 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 SuperOffice.CRM.Rows.ProjectMember to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectMemberCollection ProjectMemberCollection.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 an EntityCollection 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 ProjectMember object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table ProjectMember are:
Index fieldsNested index class name
ProjectmemberIdProjectmemberId:

Primary key

Nested index class: ProjectMember.IdxProjectmemberId

Static Get method: SuperOffice.CRM.Entities.ProjectMember.GetFromIdxProjectmemberId
Non-unique indexes on table ProjectMember are:
Index fieldsNested index class name
PersonIdPersonId:

person_id

Nested index class: ProjectMemberCollection.IdxPersonId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxPersonId
ContactIdContactId:

contact_id of person (denormalisation!)

Nested index class: ProjectMemberCollection.IdxContactId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxContactId
ProjectId, RankProjectId:

Parent project

Rank:

Rank in list (starts over for each project)

Nested index class: ProjectMemberCollection.IdxProjectIdRank

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxProjectIdRank

GetFromCustomSearchAsync(CustomSearch, CancellationToken)

Create a new instance of the ProjectMemberCollection 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 ProjectMemberRow objects representing each row will be returned.

Declaration
[CreateSyncVersion(OmitNullableDirective = true)]
public static Task<ProjectMemberCollection> GetFromCustomSearchAsync(ProjectMemberCollection.CustomSearch query, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ProjectMemberCollection.CustomSearch query

The custom search to execute against the database

CancellationToken cancellationToken
Returns
Type Description
Task<ProjectMemberCollection>

A new instance of the ProjectMemberCollection object, reflecting the result of the query.

Remarks

Entity 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 SuperOffice.CRM.Rows.ProjectMember to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectMemberCollection ProjectMemberCollection.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 an EntityCollection 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 ProjectMember object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table ProjectMember are:
Index fieldsNested index class name
ProjectmemberIdProjectmemberId:

Primary key

Nested index class: ProjectMember.IdxProjectmemberId

Static Get method: SuperOffice.CRM.Entities.ProjectMember.GetFromIdxProjectmemberId
Non-unique indexes on table ProjectMember are:
Index fieldsNested index class name
PersonIdPersonId:

person_id

Nested index class: ProjectMemberCollection.IdxPersonId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxPersonId
ContactIdContactId:

contact_id of person (denormalisation!)

Nested index class: ProjectMemberCollection.IdxContactId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxContactId
ProjectId, RankProjectId:

Parent project

Rank:

Rank in list (starts over for each project)

Nested index class: ProjectMemberCollection.IdxProjectIdRank

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxProjectIdRank

GetFromIdxContactIdAsync(int, CancellationToken)

Create a new instance of the ProjectMemberRows object, and populate it with ProjectMemberRow objects based on the result of a query on the table ProjectMember. This method is intended to make it easy to use efficient queries that match a database index.

Declaration
public static Task<ProjectMemberCollection> GetFromIdxContactIdAsync(int contactId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int contactId

contact_id of person (denormalisation!)

CancellationToken cancellationToken
Returns
Type Description
Task<ProjectMemberCollection>

New ProjectMemberRows collection containing the result of the index query. If no rows matched, the collection will be empty.

Remarks

The query matches the fields on the non-unique index IDXPmembContact_id. Unique indexes have corresponding Create methods directly on the ProjectMemberRow object, since such indexes always return zero or one rows.

GetFromIdxPersonIdAsync(int, CancellationToken)

Create a new instance of the ProjectMemberRows object, and populate it with ProjectMemberRow objects based on the result of a query on the table ProjectMember. This method is intended to make it easy to use efficient queries that match a database index.

Declaration
public static Task<ProjectMemberCollection> GetFromIdxPersonIdAsync(int personId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int personId

person_id

CancellationToken cancellationToken
Returns
Type Description
Task<ProjectMemberCollection>

New ProjectMemberRows collection containing the result of the index query. If no rows matched, the collection will be empty.

Remarks

The query matches the fields on the non-unique index IDXPmembPerson_id. Unique indexes have corresponding Create methods directly on the ProjectMemberRow object, since such indexes always return zero or one rows.

GetFromIdxProjectIdRankAsync(int, short, CancellationToken)

Create a new instance of the ProjectMemberRows object, and populate it with ProjectMemberRow objects based on the result of a query on the table ProjectMember. This method is intended to make it easy to use efficient queries that match a database index.

Declaration
public static Task<ProjectMemberCollection> GetFromIdxProjectIdRankAsync(int projectId, short rank, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int projectId

Parent project

short rank

Rank in list (starts over for each project)

CancellationToken cancellationToken
Returns
Type Description
Task<ProjectMemberCollection>

New ProjectMemberRows collection containing the result of the index query. If no rows matched, the collection will be empty.

Remarks

The query matches the fields on the non-unique index IProj_idRank. Unique indexes have corresponding Create methods directly on the ProjectMemberRow object, since such indexes always return zero or one rows.

Remove(ProjectMember)

Removes the given ProjectMember from the collection

Declaration
public void Remove(ProjectMember projectMember)
Parameters
Type Name Description
ProjectMember projectMember

the ProjectMember to be removed

Remarks

Entity 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 SuperOffice.CRM.Rows.ProjectMember to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectMemberCollection ProjectMemberCollection.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 an EntityCollection 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 ProjectMember object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table ProjectMember are:
Index fieldsNested index class name
ProjectmemberIdProjectmemberId:

Primary key

Nested index class: ProjectMember.IdxProjectmemberId

Static Get method: SuperOffice.CRM.Entities.ProjectMember.GetFromIdxProjectmemberId
Non-unique indexes on table ProjectMember are:
Index fieldsNested index class name
PersonIdPersonId:

person_id

Nested index class: ProjectMemberCollection.IdxPersonId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxPersonId
ContactIdContactId:

contact_id of person (denormalisation!)

Nested index class: ProjectMemberCollection.IdxContactId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxContactId
ProjectId, RankProjectId:

Parent project

Rank:

Rank in list (starts over for each project)

Nested index class: ProjectMemberCollection.IdxProjectIdRank

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxProjectIdRank

ToArray()

Link-table between person and project

Collection of ProjectMember. Each element of the collection represents one entity based on ProjectMember.
Declaration
public ProjectMember[] ToArray()
Returns
Type Description
ProjectMember[]
Remarks

Entity 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 SuperOffice.CRM.Rows.ProjectMember to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectMemberCollection ProjectMemberCollection.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 an EntityCollection 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 ProjectMember object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table ProjectMember are:
Index fieldsNested index class name
ProjectmemberIdProjectmemberId:

Primary key

Nested index class: ProjectMember.IdxProjectmemberId

Static Get method: SuperOffice.CRM.Entities.ProjectMember.GetFromIdxProjectmemberId
Non-unique indexes on table ProjectMember are:
Index fieldsNested index class name
PersonIdPersonId:

person_id

Nested index class: ProjectMemberCollection.IdxPersonId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxPersonId
ContactIdContactId:

contact_id of person (denormalisation!)

Nested index class: ProjectMemberCollection.IdxContactId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxContactId
ProjectId, RankProjectId:

Parent project

Rank:

Rank in list (starts over for each project)

Nested index class: ProjectMemberCollection.IdxProjectIdRank

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxProjectIdRank

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()
Remarks

Entity 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 SuperOffice.CRM.Rows.ProjectMember to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectMemberCollection ProjectMemberCollection.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 an EntityCollection 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 ProjectMember object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table ProjectMember are:
Index fieldsNested index class name
ProjectmemberIdProjectmemberId:

Primary key

Nested index class: ProjectMember.IdxProjectmemberId

Static Get method: SuperOffice.CRM.Entities.ProjectMember.GetFromIdxProjectmemberId
Non-unique indexes on table ProjectMember are:
Index fieldsNested index class name
PersonIdPersonId:

person_id

Nested index class: ProjectMemberCollection.IdxPersonId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxPersonId
ContactIdContactId:

contact_id of person (denormalisation!)

Nested index class: ProjectMemberCollection.IdxContactId

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxContactId
ProjectId, RankProjectId:

Parent project

Rank:

Rank in list (starts over for each project)

Nested index class: ProjectMemberCollection.IdxProjectIdRank

Static Get method: SuperOffice.CRM.Entities.ProjectMemberCollection.GetFromIdxProjectIdRank

Implements

INestedPersist
IEnumerable<T>
INotifyCollectionChanged
IBindingList
IList
ICollection
IEnumerable

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 |  Contribute |  Back to top