This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Description
I am new to Sage Integration. My client has Sage 50 Accounts 2014 and I am asked to integrate supplier, customer and Sale Invoice data with .net application. I want to use SData 2.0 for this. Till now, I got there are two ways 1. SIF and 2. SData Service.
I tried to use SDataCSharpClientLib(https://github.com/Sage/SDataCSharpClientLib) but no luck. Below code I tried to use
AtomFeed feed;
var service = new SDataService("http://rental3:5493/sdata/accounts50/GCRM/{ECD9EE39-0E53-4DD7-B4E2-5E260ACD1850}/", "manager", "test123");
var rcu = new SDataResourceCollectionRequest(service);
rcu.ContractName = "test";
rcu.DataSet = "prod";
rcu.ResourceKind = "accounts";
rcu.StartIndex = 21;
rcu.Count = 10;
rcu.QueryValues.Add("where", "accountid='123456789abc'");
rcu.QueryValues.Add("orderby", "'account'");
feed = service.ReadFeed(rcu);
I am still not able to know how to proceed. Can you please guide. If possible can I get SIF for C#.