Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagec#
GenericMongoService mongoService = new GenericMongoService(mySalesforceSession, Account.SFType);

SObjectField[] entityFields = new SObjectField {"Id", "Name"};


List<EntityBase> entities = mongoService.GetAll(entityFields);

ValidEntityId(string entityId)

Verifies that the SObject ID is valid for the particular SObject.

Parameters

entityId
Type: System.String
Value of the SObject ID.

Return Value

System.Boolean

ValidEntityId(Id entityId)

Verifies that the SObject ID is valid for the particular SObject.

Parameters

entityId
Type: FuseIT.Sitecore.SalesforceConnector.Id
Value of the SObject ID.

Return Value

System.Boolean

IsSupported()

Verifies that this object type exist for the sessions organization (via the partner API).

Return Value

System.Boolean

GetSingleByFieldEquals(string fieldName, string argument)

...

UpsertResult UpsertEntity(EntityBase entity, string externalFieldId)

Properties

ObjectType

KeyPrefix

...