/
Constructors
Constructors
GenericMongoService(string objectType)
Parameters
objectType
Type: System.String
Sample
//Create a service for Salesforce Accounts. Account.SFType = "001" GenericMongoService mongoService = new GenericMongoService(Account.SFType);
GenericMongoService(SalesforceSession session, string objectType)
Parameters
session
Type: FuseIT.Sitecore.SalesforceConnector.SalesforceSession
A current S4S API session.
objectType
Type: System.String
The 3 letter API key for the SObject. E.g. "001" for Account.
Sample
SalesforceSession session = new SalesforceSession("M4S")' GenericMongoService mongoService = new GenericMongoService(session, Account.SFType);