Class ForeignAppEntity
Carrier object for ForeignAppEntity. Services for the ForeignAppEntity Carrier is available from the IForeignSystemAgent.
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class ForeignAppEntity : Carrier
Examples
Get ForeignAppEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ForeignSystemAgent();
var foreignAppEntity = agent.GetForeignAppEntity( 123 );
}
Find all ForeignAppEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("ForeignKeys", "...", null, "getAllRows eq 1", null, 0, 100 );
Constructors
ForeignAppEntity()
Default constructor
Declaration
public ForeignAppEntity()
Examples
Get ForeignAppEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ForeignSystemAgent();
var foreignAppEntity = agent.GetForeignAppEntity( 123 );
}
Find all ForeignAppEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("ForeignKeys", "...", null, "getAllRows eq 1", null, 0, 100 );
See Also
Properties
CreatedBy
The person that created the foreign application.
Declaration
public virtual Associate CreatedBy { get; set; }
Property Value
Type | Description |
---|---|
Associate |
Examples
Get ForeignAppEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ForeignSystemAgent();
var foreignAppEntity = agent.GetForeignAppEntity( 123 );
}
Find all ForeignAppEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("ForeignKeys", "...", null, "getAllRows eq 1", null, 0, 100 );
See Also
CreatedDate
Registered when in UTC.
Declaration
public virtual DateTime CreatedDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Examples
Get ForeignAppEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ForeignSystemAgent();
var foreignAppEntity = agent.GetForeignAppEntity( 123 );
}
Find all ForeignAppEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("ForeignKeys", "...", null, "getAllRows eq 1", null, 0, 100 );
See Also
Devices
The devices that belong to this foreign app.
Declaration
public virtual ForeignDevice[] Devices { get; set; }
Property Value
Type | Description |
---|---|
ForeignDevice[] |
Examples
Get ForeignAppEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ForeignSystemAgent();
var foreignAppEntity = agent.GetForeignAppEntity( 123 );
}
Find all ForeignAppEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("ForeignKeys", "...", null, "getAllRows eq 1", null, 0, 100 );
See Also
ForeignAppId
Primary key
Declaration
public virtual int ForeignAppId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Examples
Get ForeignAppEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ForeignSystemAgent();
var foreignAppEntity = agent.GetForeignAppEntity( 123 );
}
Find all ForeignAppEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("ForeignKeys", "...", null, "getAllRows eq 1", null, 0, 100 );
See Also
Name
Name of foreign application
Declaration
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
Get ForeignAppEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ForeignSystemAgent();
var foreignAppEntity = agent.GetForeignAppEntity( 123 );
}
Find all ForeignAppEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("ForeignKeys", "...", null, "getAllRows eq 1", null, 0, 100 );
See Also
UpdatedBy
The person that last updated this foreign application.
Declaration
public virtual Associate UpdatedBy { get; set; }
Property Value
Type | Description |
---|---|
Associate |
Examples
Get ForeignAppEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ForeignSystemAgent();
var foreignAppEntity = agent.GetForeignAppEntity( 123 );
}
Find all ForeignAppEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("ForeignKeys", "...", null, "getAllRows eq 1", null, 0, 100 );
See Also
UpdatedDate
Last updated when in UTC.
Declaration
public virtual DateTime UpdatedDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Examples
Get ForeignAppEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ForeignSystemAgent();
var foreignAppEntity = agent.GetForeignAppEntity( 123 );
}
Find all ForeignAppEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("ForeignKeys", "...", null, "getAllRows eq 1", null, 0, 100 );
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The carrier contents. |
Examples
Get ForeignAppEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ForeignSystemAgent();
var foreignAppEntity = agent.GetForeignAppEntity( 123 );
}
Find all ForeignAppEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("ForeignKeys", "...", null, "getAllRows eq 1", null, 0, 100 );
See Also
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. |
Examples
Get ForeignAppEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ForeignSystemAgent();
var foreignAppEntity = agent.GetForeignAppEntity( 123 );
}
Find all ForeignAppEntity, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("ForeignKeys", "...", null, "getAllRows eq 1", null, 0, 100 );