how to insert data to the salesforce table?
<p>I don't have any idea about Salesforce. i'm using <strong>C#</strong> to connect salesforce. i have a <code>DataTable</code> with some columns and values. that columns are <strong>salesforce</strong> <code>Account</code> table column. i need to insert the values into the Salesforce <code>Account</code> Table.</p>

<pre><code>private async Task&lt;ForceClient&gt; ConnectToSalesforceByOAuth(int clientId)
    {
        var property = Properties.SingleOrDefault(p =&gt; p.Name.Equals(SalesforceInstancePropertyName, StringComparison.InvariantCultureIgnoreCase));
        var propertyValue = SettingValues.SingleOrDefault(s =&gt; s.PropertyName.Equals(property?.Name, StringComparison.InvariantCultureIgnoreCase));

        if (string.IsNullOrWhiteSpace(propertyValue?.PropertyValue))
        {
            throw new Exception($"Unable to find a valid \"{SalesforceInstancePropertyName}\"");
        }

        var settings = GetOAuthSettings(clientId);
        var authToken = JsonConvert.DeserializeObject&lt;SalesforceAuthToken&gt;(propertyValue.PropertyValue);

        // Refresh the auth token in case it has expired
        authToken = await OAuthHelper.ReloadSalesforceAuthentication(clientId, settings, authToken.RefreshToken);

        return new ForceClient(authToken.InstanceUrl, authToken.AccessToken, authToken.ApiVersion);
    }
</code></pre>

<p>this is the method to connect <strong>salesforce</strong></p>

<pre><code>using (var forceClient = await ConnectToSalesforceByOAuth(clientId))
</code></pre>

<p>call <code>ConnectToSalesforceByOAuth</code> method like the above </p>

<pre><code>forceClient.UpdateAsync(string objectname, string recordId, object record);
</code></pre>

<p>this above line i have to pass the <strong>object</strong> to <code>record</code>. but i don't have any class.</p>

<p>i got the filed names using this code.</p>

<pre><code> DataSyncSystem.EissSyncSystemTables.Add(await GetDataSyncSystemTable(forceClient, "Opportunity"));

   var contact = await forceClient.DescribeAsync&lt;SalesforceObject&gt;(Opportunity); 
</code></pre>

<p>and i store the fields to some tables</p>

<pre><code> var table = new DataSyncSystemTable
        {
            TableName = Opportunity,
            EissSyncSystemFields = contact.Fields.Select(f =&gt; new DataSyncSystemField
            {
                ColumnName = f.Name,
                Length = f.Length,
                FieldType = f.Type,
                ReadOnly = !f.Updateable
            }).ToList()
        };
        return table;
</code></pre>

<p>please help me to how to write the query to <strong>salesforce.</strong>
thanks.</p>