Show / Hide Table of Contents

Class SelectionEntity

Carrier object for SelectionEntity. Services for the SelectionEntity Carrier is available from the Selection Agent.

Inheritance
object
SelectionEntity
Implements
IVisibleForCarrier
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.1.0.0")]
public class SelectionEntity : Carrier, IVisibleForCarrier
Examples

Get SelectionEntity 123 using the agent:

using SuperOffice;
using SuperOffice.CRM.Services;

using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
   var agent = new SelectionAgent();
   var selectionEntity = agent.GetSelectionEntity( 123 );
}

Find all SelectionEntity, get related items using archive agent.

var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("FindSelection", "...", null, "getAllRows eq 1", null, 0, 100 );

Constructors

SelectionEntity()

Default constructor

Declaration
public SelectionEntity()
See Also
ISelectionAgent

Properties

Associate

Owner of the selection

Declaration
[DataMember]
public virtual Associate Associate { get; set; }
Property Value
Type Description
Associate
See Also
ISelectionAgent

ChartKey

ID/key of the last-used chart tile on this selection

Declaration
[DataMember]
public virtual string ChartKey { get; set; }
Property Value
Type Description
string
See Also
ISelectionAgent

CompanyUnique

Filter out duplicate members based on company?

Declaration
[DataMember]
public virtual bool CompanyUnique { get; set; }
Property Value
Type Description
bool
See Also
ISelectionAgent

Completed

The Completed state.

Declaration
[DataMember]
public virtual bool Completed { get; set; }
Property Value
Type Description
bool
See Also
ISelectionAgent

CreatedBy

Who created the selection

Declaration
[DataMember]
public virtual Associate CreatedBy { get; set; }
Property Value
Type Description
Associate
See Also
ISelectionAgent

CreatedDate

Registered when in UTC.

Declaration
[DataMember]
public virtual DateTime CreatedDate { get; set; }
Property Value
Type Description
DateTime
See Also
ISelectionAgent

DashboardTileDefinitionId

The associated tile definition

Declaration
[DataMember]
public virtual int DashboardTileDefinitionId { get; set; }
Property Value
Type Description
int
See Also
ISelectionAgent

Description

The actual text, max 2047 significant characters even though it is stored as a larger data type on some databases

Declaration
[DataMember]
public virtual string Description { get; set; }
Property Value
Type Description
string
See Also
ISelectionAgent

GroupIdx

Original primary user group of associate

Declaration
[DataMember]
public virtual int GroupIdx { get; set; }
Property Value
Type Description
int
See Also
ISelectionAgent

IncludePerson

0 = Include first person, 1 = Include all persons, 2 = Include no persons

Declaration
[DataMember]
public virtual int IncludePerson { get; set; }
Property Value
Type Description
int
See Also
ISelectionAgent

LastLoaded

The date/time this selection was last loaded (selectionentity fetched)

Declaration
[DataMember]
public virtual DateTime LastLoaded { get; set; }
Property Value
Type Description
DateTime
See Also
ISelectionAgent

LastLoadedBy

Who last loaded this selection

Declaration
[DataMember]
public virtual int LastLoadedBy { get; set; }
Property Value
Type Description
int
See Also
ISelectionAgent

LastLoadedByAssociate

Associate that last looked at the selection members; only date (not time) is valid

Declaration
[DataMember]
public virtual Associate LastLoadedByAssociate { get; set; }
Property Value
Type Description
Associate
See Also
ISelectionAgent

LastMembershipChange

The date/time the membership the selection last changed. Dynamic: change of criteria; Static: add/remove members; Combined: change of algorithm

Declaration
[DataMember]
public virtual DateTime LastMembershipChange { get; set; }
Property Value
Type Description
DateTime
See Also
ISelectionAgent

LastMembershipChangeBy

Who last changed the membership

Declaration
[DataMember]
public virtual int LastMembershipChangeBy { get; set; }
Property Value
Type Description
int
See Also
ISelectionAgent

LastMembershipChangeByAssociate

Associate that last changed the selection membership (static members, dynamic criteria, combined parameters); only date (not time) is valid

Declaration
[DataMember]
public virtual Associate LastMembershipChangeByAssociate { get; set; }
Property Value
Type Description
Associate
See Also
ISelectionAgent

LeftSelectionId

LeftSelectionId is used in combination with RightSelectionId and CombinationType to define an union of two selections when SelectionType=Combined.

Declaration
[DataMember]
public virtual int LeftSelectionId { get; set; }
Property Value
Type Description
int
See Also
ISelectionAgent

MailingsProviderName

The name of the provider for the Mailings tab, if relevant; this string will contain resource references

Declaration
[DataMember]
public virtual string MailingsProviderName { get; set; }
Property Value
Type Description
string
See Also
ISelectionAgent

MainHeading

'Static selection of Companies', or whatever else is appropriate, made by combining text resources for the type and the entity (plural form); this string will contain resource references

Declaration
[DataMember]
public virtual string MainHeading { get; set; }
Property Value
Type Description
string
See Also
ISelectionAgent

MainProviderName

The name of the Archive Provider that will deliver the content of the archive - the actual entity rows

Declaration
[DataMember]
public virtual string MainProviderName { get; set; }
Property Value
Type Description
string
See Also
ISelectionAgent

MemberCount

How many selectionmembers (for progress bar calculations) - estimate, -1 (or 4294967295) means we don't know

Declaration
[DataMember]
public virtual uint MemberCount { get; set; }
Property Value
Type Description
uint
See Also
ISelectionAgent

MemberTabHeading

'Companies', or whatever else is appropriate - the plural form of the entity name; this string will contain resource references

Declaration
[DataMember]
public virtual string MemberTabHeading { get; set; }
Property Value
Type Description
string
See Also
ISelectionAgent

Name

Name of selection, freetext indexed

Declaration
[DataMember]
public virtual string Name { get; set; }
Property Value
Type Description
string
See Also
ISelectionAgent

Postit

The actual text, max 2047 significant characters even though it is stored as a larger data type on some databases

Declaration
[DataMember]
public virtual string Postit { get; set; }
Property Value
Type Description
string
See Also
ISelectionAgent

PostitTextId

Postit text record id.

Declaration
[DataMember]
public virtual int PostitTextId { get; set; }
Property Value
Type Description
int
See Also
ISelectionAgent

RightSelectionId

RightSelectionId is used in combination with LeftSelectionId and CombinationType to define an union of two selections when SelectionType=Combined.

Declaration
[DataMember]
public virtual int RightSelectionId { get; set; }
Property Value
Type Description
int
See Also
ISelectionAgent

SelectionCategory

Selection category type (list item)

Use MDO List name "searchCat" to get list items.

Declaration
[DataMember]
public virtual SelectionCategory SelectionCategory { get; set; }
Property Value
Type Description
SelectionCategory
See Also
ISelectionAgent

SelectionId

Primary key

Declaration
[DataMember]
public virtual int SelectionId { get; set; }
Property Value
Type Description
int
See Also
ISelectionAgent

SelectionType

Static/Dynamic/Combined?

Declaration
[DataMember]
public virtual SelectionType SelectionType { get; set; }
Property Value
Type Description
SelectionType
See Also
ISelectionAgent

SelectionUnionType

How to combine the two selections when SelectionType = Combined.

Declaration
[DataMember]
public virtual SelectionUnionType SelectionUnionType { get; set; }
Property Value
Type Description
SelectionUnionType
See Also
ISelectionAgent

ShadowProviderName

The name, if relevant, of the Archive Provider that will deliver the Shadow rows: contact/person rows related to the actual entity. Can be blank, indicating that there is no shadow archive

Declaration
[DataMember]
public virtual string ShadowProviderName { get; set; }
Property Value
Type Description
string
See Also
ISelectionAgent

SoundEx

What the name sounds like, for duplicate detection

Declaration
[DataMember]
public virtual string SoundEx { get; set; }
Property Value
Type Description
string
See Also
ISelectionAgent

Source

How did we get this selection? For future integration needs

Declaration
[DataMember]
public virtual short Source { get; set; }
Property Value
Type Description
short
See Also
ISelectionAgent

TargetTableName

TargetTableName contains the name of the table in lowercase. defines the type of selection members this selection contains. e.g. 'contact', or 'project' or 'sale'

Declaration
[DataMember]
public virtual string TargetTableName { get; set; }
Property Value
Type Description
string
See Also
ISelectionAgent

TargetTableNumber

TargetTableNumber defines the type of selection members this selection contains. e.g. the table number for 'contact', or 'project' or 'sale'

Declaration
[DataMember]
public virtual int TargetTableNumber { get; set; }
Property Value
Type Description
int
See Also
ISelectionAgent

TextId

Description text record id

Declaration
[DataMember]
public virtual int TextId { get; set; }
Property Value
Type Description
int
See Also
ISelectionAgent

UpdatedBy

Who last modified the selection

Declaration
[DataMember]
public virtual Associate UpdatedBy { get; set; }
Property Value
Type Description
Associate
See Also
ISelectionAgent

UpdatedCount

Number of updates made to this record

Declaration
[DataMember]
public virtual short UpdatedCount { get; set; }
Property Value
Type Description
short
See Also
ISelectionAgent

UpdatedDate

Last updated when in UTC.

Declaration
[DataMember]
public virtual DateTime UpdatedDate { get; set; }
Property Value
Type Description
DateTime
See Also
ISelectionAgent

Visibility

Obsolete, but still maintained denormalization of visiblefor

Declaration
[DataMember]
public virtual short Visibility { get; set; }
Property Value
Type Description
short
See Also
ISelectionAgent

VisibleFor

The set of users or groups the record is visible for

Declaration
[DataMember]
public VisibleFor[] VisibleFor { get; set; }
Property Value
Type Description
VisibleFor[]
See Also
ISelectionAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
ISelectionAgent

ToString(string)

Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.

Declaration
public string ToString(string prefix)
Parameters
Type Name Description
string prefix

The line prefix (typically used for indenting)

Returns
Type Description
string

The carrier contents.

See Also
ISelectionAgent

Implements

IVisibleForCarrier

See Also

ISelectionAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top