How do you change these lines of code from self servicing to adapter model
SetupCollection s = new SetupCollection();
s.GetMulti(null); // read in all values (there will be only one)
I think that the above 2 line should be this
EntityCollection s = new EntityCollection();
adapter.FetchEntityCollection(s, null);
What about these 2 lines, what do you have to cast it to get this information
SupportName = s[0].TechnicalSupportDisplayName;
SupportEmail = s[0].TechnicalSupportEmailAddress;
And this line fails as well
Transaction trans = new Transaction(System.Data.IsolationLevel.ReadCommitted, "EmailUser");
It says it is unaccesible due to its protection level