I'm using the Salesforce dotconnect version 5.0.2045.0.
I would like to provide the connectionstring via the constructor of Dbcontext. I tried the following value:
User Id=userid;Password=password;Security Token=securitytoken;Persist Security Info=True;Host=test.salesforce.com
I receive the following error:
Keyword not supported: 'security token'.
I then tried the SalesforceConnectionStringBuilder class:
Devart.Data.Salesforce.SalesforceConnectionStringBuilder sfCSB = new
Code: Select all
Devart.Data.Salesforce.SalesforceConnectionStringBuilder();
sfCSB.Host = "test.salesforce.com";
sfCSB.UserId = "userid";
sfCSB.Password = "password";
sfCSB.SecurityToken = "securitytoken";
sfCSB.MaxPoolSize = 150;
sfCSB.ConnectionTimeout = 30;
Code: Select all
sfCSB.ConnectionString
Can you please provide me with the format I need to use for the connection string?
Thank you