Show / Hide Table of Contents

Class ResourceEntity

The resource entity contains resource information

Carrier object for ResourceEntity. Services for the ResourceEntity Carrier is available from the List Agent.
Inheritance
object
ResourceEntity
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.6.0.0")]
public class ResourceEntity : Carrier
Examples

Get ResourceEntity 123 using the agent:

using SuperOffice;
using SuperOffice.CRM.Services;

using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
   var agent = new ListAgent();
   var resourceEntity = agent.GetResourceEntity( 123 );
}

Constructors

ResourceEntity()

Default constructor

Declaration
public ResourceEntity()
See Also
IListAgent

Properties

Deleted

If true, the resource is deleted.

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

IsLocation

If true the resource is a location

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

LocationAddress

Address of location, if this is a resource that is a location

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

Name

Initials, also login name, possibly database user name

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

Rank

Rank order

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

ResourceId

Primary key

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

Tooltip

Tooltip or other description

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

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
IListAgent

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
IListAgent

See Also

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