Show / Hide Table of Contents

Class ProjectCollection

Projects

Collection of Project. Each element of the collection represents one entity based on Project.
Inheritance
object
NestedPersist
NestedPersistFacade
NestedCollectionPersist
EntityCollectionBase
ProjectCollection
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 ProjectCollection : 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.Project to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectCollection ProjectCollection.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 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 Project object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table Project are:
Index fieldsNested index class name
ProjectIdProjectId:

Primary key

Nested index class: Project.IdxProjectId

Static Get method: GetFromIdxProjectIdAsync(int, CancellationToken)
Non-unique indexes on table Project are:
Index fieldsNested index class name
SoundExSoundEx:

What the name sounds like, for duplicate detection

Nested index class: ProjectCollection.IdxSoundEx

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSoundEx
SourceSource:

How did we get this project? For future integration needs

Nested index class: ProjectCollection.IdxSource

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSource
ProjectNumberProjectNumber:

Automatically generated number

Nested index class: ProjectCollection.IdxProjectNumber

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxProjectNumber
Userdef2IdUserdef2Id:

User-defined table record 2

Nested index class: ProjectCollection.IdxUserdef2Id

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxUserdef2Id
NameName:

Project name

Nested index class: ProjectCollection.IdxName

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxName

Constructors

ProjectCollection(ProjectCollectionIdx)

Constructor for class ProjectCollection.
This object represents a collection of rows in table 'project'. Table contact: Projects

Declaration
protected ProjectCollection(ProjectCollection.ProjectCollectionIdx idx)
Parameters
Type Name Description
ProjectCollection.ProjectCollectionIdx 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.Project to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectCollection ProjectCollection.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 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 Project object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table Project are:
Index fieldsNested index class name
ProjectIdProjectId:

Primary key

Nested index class: Project.IdxProjectId

Static Get method: GetFromIdxProjectIdAsync(int, CancellationToken)
Non-unique indexes on table Project are:
Index fieldsNested index class name
SoundExSoundEx:

What the name sounds like, for duplicate detection

Nested index class: ProjectCollection.IdxSoundEx

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSoundEx
SourceSource:

How did we get this project? For future integration needs

Nested index class: ProjectCollection.IdxSource

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSource
ProjectNumberProjectNumber:

Automatically generated number

Nested index class: ProjectCollection.IdxProjectNumber

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxProjectNumber
Userdef2IdUserdef2Id:

User-defined table record 2

Nested index class: ProjectCollection.IdxUserdef2Id

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxUserdef2Id
NameName:

Project name

Nested index class: ProjectCollection.IdxName

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxName

Fields

_idx

Fetcher class the collection is based on

Declaration
protected ProjectCollection.ProjectCollectionIdx _idx
Field Value
Type Description
ProjectCollection.ProjectCollectionIdx
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.Project to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectCollection ProjectCollection.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 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 Project object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table Project are:
Index fieldsNested index class name
ProjectIdProjectId:

Primary key

Nested index class: Project.IdxProjectId

Static Get method: GetFromIdxProjectIdAsync(int, CancellationToken)
Non-unique indexes on table Project are:
Index fieldsNested index class name
SoundExSoundEx:

What the name sounds like, for duplicate detection

Nested index class: ProjectCollection.IdxSoundEx

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSoundEx
SourceSource:

How did we get this project? For future integration needs

Nested index class: ProjectCollection.IdxSource

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSource
ProjectNumberProjectNumber:

Automatically generated number

Nested index class: ProjectCollection.IdxProjectNumber

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxProjectNumber
Userdef2IdUserdef2Id:

User-defined table record 2

Nested index class: ProjectCollection.IdxUserdef2Id

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxUserdef2Id
NameName:

Project name

Nested index class: ProjectCollection.IdxName

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxName

_rows

Row objects that the collection is based on.

Declaration
protected ProjectRows _rows
Field Value
Type Description
ProjectRows
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.Project to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectCollection ProjectCollection.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 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 Project object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table Project are:
Index fieldsNested index class name
ProjectIdProjectId:

Primary key

Nested index class: Project.IdxProjectId

Static Get method: GetFromIdxProjectIdAsync(int, CancellationToken)
Non-unique indexes on table Project are:
Index fieldsNested index class name
SoundExSoundEx:

What the name sounds like, for duplicate detection

Nested index class: ProjectCollection.IdxSoundEx

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSoundEx
SourceSource:

How did we get this project? For future integration needs

Nested index class: ProjectCollection.IdxSource

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSource
ProjectNumberProjectNumber:

Automatically generated number

Nested index class: ProjectCollection.IdxProjectNumber

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxProjectNumber
Userdef2IdUserdef2Id:

User-defined table record 2

Nested index class: ProjectCollection.IdxUserdef2Id

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxUserdef2Id
NameName:

Project name

Nested index class: ProjectCollection.IdxName

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxName

Properties

Index

Retrieve the index for ProjectCollection

Declaration
public ProjectCollection.ProjectCollectionIdx Index { get; }
Property Value
Type Description
ProjectCollection.ProjectCollectionIdx
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.Project to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectCollection ProjectCollection.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 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 Project object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table Project are:
Index fieldsNested index class name
ProjectIdProjectId:

Primary key

Nested index class: Project.IdxProjectId

Static Get method: GetFromIdxProjectIdAsync(int, CancellationToken)
Non-unique indexes on table Project are:
Index fieldsNested index class name
SoundExSoundEx:

What the name sounds like, for duplicate detection

Nested index class: ProjectCollection.IdxSoundEx

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSoundEx
SourceSource:

How did we get this project? For future integration needs

Nested index class: ProjectCollection.IdxSource

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSource
ProjectNumberProjectNumber:

Automatically generated number

Nested index class: ProjectCollection.IdxProjectNumber

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxProjectNumber
Userdef2IdUserdef2Id:

User-defined table record 2

Nested index class: ProjectCollection.IdxUserdef2Id

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxUserdef2Id
NameName:

Project name

Nested index class: ProjectCollection.IdxName

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxName

this[int]

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

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

Zero-based index in the collection.

Property Value
Type Description
Project
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.Project to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectCollection ProjectCollection.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 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 Project object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table Project are:
Index fieldsNested index class name
ProjectIdProjectId:

Primary key

Nested index class: Project.IdxProjectId

Static Get method: GetFromIdxProjectIdAsync(int, CancellationToken)
Non-unique indexes on table Project are:
Index fieldsNested index class name
SoundExSoundEx:

What the name sounds like, for duplicate detection

Nested index class: ProjectCollection.IdxSoundEx

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSoundEx
SourceSource:

How did we get this project? For future integration needs

Nested index class: ProjectCollection.IdxSource

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSource
ProjectNumberProjectNumber:

Automatically generated number

Nested index class: ProjectCollection.IdxProjectNumber

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxProjectNumber
Userdef2IdUserdef2Id:

User-defined table record 2

Nested index class: ProjectCollection.IdxUserdef2Id

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxUserdef2Id
NameName:

Project name

Nested index class: ProjectCollection.IdxName

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxName

Rows

The ecapsulated object ProjectRows.

Declaration
public ProjectRows Rows { get; }
Property Value
Type Description
ProjectRows
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.Project to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectCollection ProjectCollection.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 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 Project object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table Project are:
Index fieldsNested index class name
ProjectIdProjectId:

Primary key

Nested index class: Project.IdxProjectId

Static Get method: GetFromIdxProjectIdAsync(int, CancellationToken)
Non-unique indexes on table Project are:
Index fieldsNested index class name
SoundExSoundEx:

What the name sounds like, for duplicate detection

Nested index class: ProjectCollection.IdxSoundEx

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSoundEx
SourceSource:

How did we get this project? For future integration needs

Nested index class: ProjectCollection.IdxSource

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSource
ProjectNumberProjectNumber:

Automatically generated number

Nested index class: ProjectCollection.IdxProjectNumber

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxProjectNumber
Userdef2IdUserdef2Id:

User-defined table record 2

Nested index class: ProjectCollection.IdxUserdef2Id

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxUserdef2Id
NameName:

Project name

Nested index class: ProjectCollection.IdxName

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxName

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

Unique indexes on table Project are:
Index fieldsNested index class name
ProjectIdProjectId:

Primary key

Nested index class: Project.IdxProjectId

Static Get method: GetFromIdxProjectIdAsync(int, CancellationToken)
Non-unique indexes on table Project are:
Index fieldsNested index class name
SoundExSoundEx:

What the name sounds like, for duplicate detection

Nested index class: ProjectCollection.IdxSoundEx

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSoundEx
SourceSource:

How did we get this project? For future integration needs

Nested index class: ProjectCollection.IdxSource

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSource
ProjectNumberProjectNumber:

Automatically generated number

Nested index class: ProjectCollection.IdxProjectNumber

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxProjectNumber
Userdef2IdUserdef2Id:

User-defined table record 2

Nested index class: ProjectCollection.IdxUserdef2Id

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxUserdef2Id
NameName:

Project name

Nested index class: ProjectCollection.IdxName

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxName

Methods

Add(Project)

Add one Project to the collection.

Declaration
public int Add(Project project)
Parameters
Type Name Description
Project project

An instance of Project to be added to the collection.

Returns
Type Description
int

The index of the added Project.

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

Unique indexes on table Project are:
Index fieldsNested index class name
ProjectIdProjectId:

Primary key

Nested index class: Project.IdxProjectId

Static Get method: GetFromIdxProjectIdAsync(int, CancellationToken)
Non-unique indexes on table Project are:
Index fieldsNested index class name
SoundExSoundEx:

What the name sounds like, for duplicate detection

Nested index class: ProjectCollection.IdxSoundEx

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSoundEx
SourceSource:

How did we get this project? For future integration needs

Nested index class: ProjectCollection.IdxSource

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSource
ProjectNumberProjectNumber:

Automatically generated number

Nested index class: ProjectCollection.IdxProjectNumber

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxProjectNumber
Userdef2IdUserdef2Id:

User-defined table record 2

Nested index class: ProjectCollection.IdxUserdef2Id

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxUserdef2Id
NameName:

Project name

Nested index class: ProjectCollection.IdxName

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxName

AddNew()

Get a new instance of Project added to the collection.

Declaration
public Project AddNew()
Returns
Type Description
Project

A new instance of Project 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.Project to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectCollection ProjectCollection.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 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 Project object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table Project are:
Index fieldsNested index class name
ProjectIdProjectId:

Primary key

Nested index class: Project.IdxProjectId

Static Get method: GetFromIdxProjectIdAsync(int, CancellationToken)
Non-unique indexes on table Project are:
Index fieldsNested index class name
SoundExSoundEx:

What the name sounds like, for duplicate detection

Nested index class: ProjectCollection.IdxSoundEx

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSoundEx
SourceSource:

How did we get this project? For future integration needs

Nested index class: ProjectCollection.IdxSource

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSource
ProjectNumberProjectNumber:

Automatically generated number

Nested index class: ProjectCollection.IdxProjectNumber

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxProjectNumber
Userdef2IdUserdef2Id:

User-defined table record 2

Nested index class: ProjectCollection.IdxUserdef2Id

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxUserdef2Id
NameName:

Project name

Nested index class: ProjectCollection.IdxName

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxName

CreateChild()

Create a new instance of Project

Declaration
protected override EntityBase CreateChild()
Returns
Type Description
EntityBase

New instance of Project

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

Unique indexes on table Project are:
Index fieldsNested index class name
ProjectIdProjectId:

Primary key

Nested index class: Project.IdxProjectId

Static Get method: GetFromIdxProjectIdAsync(int, CancellationToken)
Non-unique indexes on table Project are:
Index fieldsNested index class name
SoundExSoundEx:

What the name sounds like, for duplicate detection

Nested index class: ProjectCollection.IdxSoundEx

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSoundEx
SourceSource:

How did we get this project? For future integration needs

Nested index class: ProjectCollection.IdxSource

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSource
ProjectNumberProjectNumber:

Automatically generated number

Nested index class: ProjectCollection.IdxProjectNumber

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxProjectNumber
Userdef2IdUserdef2Id:

User-defined table record 2

Nested index class: ProjectCollection.IdxUserdef2Id

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxUserdef2Id
NameName:

Project name

Nested index class: ProjectCollection.IdxName

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxName

CreateNew()

Create a new instance of the ProjectCollection.

Declaration
public static ProjectCollection CreateNew()
Returns
Type Description
ProjectCollection

A new instance of the ProjectCollection.

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

Unique indexes on table Project are:
Index fieldsNested index class name
ProjectIdProjectId:

Primary key

Nested index class: Project.IdxProjectId

Static Get method: GetFromIdxProjectIdAsync(int, CancellationToken)
Non-unique indexes on table Project are:
Index fieldsNested index class name
SoundExSoundEx:

What the name sounds like, for duplicate detection

Nested index class: ProjectCollection.IdxSoundEx

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSoundEx
SourceSource:

How did we get this project? For future integration needs

Nested index class: ProjectCollection.IdxSource

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSource
ProjectNumberProjectNumber:

Automatically generated number

Nested index class: ProjectCollection.IdxProjectNumber

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxProjectNumber
Userdef2IdUserdef2Id:

User-defined table record 2

Nested index class: ProjectCollection.IdxUserdef2Id

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxUserdef2Id
NameName:

Project name

Nested index class: ProjectCollection.IdxName

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxName

GetFromCustomSearchAsync(CustomSearch, CancellationToken)

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

Declaration
public static Task<ProjectCollection> GetFromCustomSearchAsync(ProjectCollection.CustomSearch query, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ProjectCollection.CustomSearch query

The custom search to execute against the database

CancellationToken cancellationToken
Returns
Type Description
Task<ProjectCollection>

A new instance of the ProjectCollection 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.Project to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectCollection ProjectCollection.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 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 Project object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table Project are:
Index fieldsNested index class name
ProjectIdProjectId:

Primary key

Nested index class: Project.IdxProjectId

Static Get method: GetFromIdxProjectIdAsync(int, CancellationToken)
Non-unique indexes on table Project are:
Index fieldsNested index class name
SoundExSoundEx:

What the name sounds like, for duplicate detection

Nested index class: ProjectCollection.IdxSoundEx

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSoundEx
SourceSource:

How did we get this project? For future integration needs

Nested index class: ProjectCollection.IdxSource

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSource
ProjectNumberProjectNumber:

Automatically generated number

Nested index class: ProjectCollection.IdxProjectNumber

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxProjectNumber
Userdef2IdUserdef2Id:

User-defined table record 2

Nested index class: ProjectCollection.IdxUserdef2Id

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxUserdef2Id
NameName:

Project name

Nested index class: ProjectCollection.IdxName

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxName

GetFromIdxNameAsync(string, CancellationToken)

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

Declaration
public static Task<ProjectCollection> GetFromIdxNameAsync(string name, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string name

Project name

CancellationToken cancellationToken
Returns
Type Description
Task<ProjectCollection>

New ProjectRows 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 IDXProjName. Unique indexes have corresponding Create methods directly on the ProjectRow object, since such indexes always return zero or one rows.

GetFromIdxProjectNumberAsync(string, CancellationToken)

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

Declaration
public static Task<ProjectCollection> GetFromIdxProjectNumberAsync(string projectNumber, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string projectNumber

Automatically generated number

CancellationToken cancellationToken
Returns
Type Description
Task<ProjectCollection>

New ProjectRows 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 IDXProjPnum. Unique indexes have corresponding Create methods directly on the ProjectRow object, since such indexes always return zero or one rows.

GetFromIdxSoundExAsync(string, CancellationToken)

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

Declaration
public static Task<ProjectCollection> GetFromIdxSoundExAsync(string soundEx, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string soundEx

What the name sounds like, for duplicate detection

CancellationToken cancellationToken
Returns
Type Description
Task<ProjectCollection>

New ProjectRows 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 IDXProjSoundEx. Unique indexes have corresponding Create methods directly on the ProjectRow object, since such indexes always return zero or one rows.

GetFromIdxSourceAsync(short, CancellationToken)

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

Declaration
public static Task<ProjectCollection> GetFromIdxSourceAsync(short source, CancellationToken cancellationToken = default)
Parameters
Type Name Description
short source

How did we get this project? For future integration needs

CancellationToken cancellationToken
Returns
Type Description
Task<ProjectCollection>

New ProjectRows 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 IDXProjSource. Unique indexes have corresponding Create methods directly on the ProjectRow object, since such indexes always return zero or one rows.

GetFromIdxUserdef2IdAsync(int, CancellationToken)

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

Declaration
public static Task<ProjectCollection> GetFromIdxUserdef2IdAsync(int userdef2Id, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int userdef2Id

User-defined table record 2

CancellationToken cancellationToken
Returns
Type Description
Task<ProjectCollection>

New ProjectRows 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 IDXProjUdef2_id. Unique indexes have corresponding Create methods directly on the ProjectRow object, since such indexes always return zero or one rows.

Remove(Project)

Removes the given Project from the collection

Declaration
public void Remove(Project project)
Parameters
Type Name Description
Project project

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

Unique indexes on table Project are:
Index fieldsNested index class name
ProjectIdProjectId:

Primary key

Nested index class: Project.IdxProjectId

Static Get method: GetFromIdxProjectIdAsync(int, CancellationToken)
Non-unique indexes on table Project are:
Index fieldsNested index class name
SoundExSoundEx:

What the name sounds like, for duplicate detection

Nested index class: ProjectCollection.IdxSoundEx

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSoundEx
SourceSource:

How did we get this project? For future integration needs

Nested index class: ProjectCollection.IdxSource

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSource
ProjectNumberProjectNumber:

Automatically generated number

Nested index class: ProjectCollection.IdxProjectNumber

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxProjectNumber
Userdef2IdUserdef2Id:

User-defined table record 2

Nested index class: ProjectCollection.IdxUserdef2Id

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxUserdef2Id
NameName:

Project name

Nested index class: ProjectCollection.IdxName

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxName

ToArray()

Projects

Collection of Project. Each element of the collection represents one entity based on Project.
Declaration
public Project[] ToArray()
Returns
Type Description
Project[]
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.Project to it, and use methods like Save to operate on the whole collection.
  • You can create a (nested) ProjectCollection ProjectCollection.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 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 Project object directly, which has nested classes and GetFromIdx methods for each unique index.

Unique indexes on table Project are:
Index fieldsNested index class name
ProjectIdProjectId:

Primary key

Nested index class: Project.IdxProjectId

Static Get method: GetFromIdxProjectIdAsync(int, CancellationToken)
Non-unique indexes on table Project are:
Index fieldsNested index class name
SoundExSoundEx:

What the name sounds like, for duplicate detection

Nested index class: ProjectCollection.IdxSoundEx

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSoundEx
SourceSource:

How did we get this project? For future integration needs

Nested index class: ProjectCollection.IdxSource

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSource
ProjectNumberProjectNumber:

Automatically generated number

Nested index class: ProjectCollection.IdxProjectNumber

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxProjectNumber
Userdef2IdUserdef2Id:

User-defined table record 2

Nested index class: ProjectCollection.IdxUserdef2Id

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxUserdef2Id
NameName:

Project name

Nested index class: ProjectCollection.IdxName

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxName

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

Unique indexes on table Project are:
Index fieldsNested index class name
ProjectIdProjectId:

Primary key

Nested index class: Project.IdxProjectId

Static Get method: GetFromIdxProjectIdAsync(int, CancellationToken)
Non-unique indexes on table Project are:
Index fieldsNested index class name
SoundExSoundEx:

What the name sounds like, for duplicate detection

Nested index class: ProjectCollection.IdxSoundEx

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSoundEx
SourceSource:

How did we get this project? For future integration needs

Nested index class: ProjectCollection.IdxSource

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxSource
ProjectNumberProjectNumber:

Automatically generated number

Nested index class: ProjectCollection.IdxProjectNumber

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxProjectNumber
Userdef2IdUserdef2Id:

User-defined table record 2

Nested index class: ProjectCollection.IdxUserdef2Id

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxUserdef2Id
NameName:

Project name

Nested index class: ProjectCollection.IdxName

Static Get method: SuperOffice.CRM.Entities.ProjectCollection.GetFromIdxName

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