public void TestQueryDocument()
        {
            Salesforce.SalesforceProxy.sObject[] objects = sf.Query(
                "SELECT Name, Description, Id, BodyLength, IsPublic, ContentType FROM Document");

            for (int i = 0; i < objects.Length; i++)
            {
                Salesforce.SalesforceProxy.Document att = (Salesforce.SalesforceProxy.Document)objects[i];
                Console.WriteLine("{0}\t{1}\nDescription:\t{2}\nId:\t{3}\nBodyLength:\t{4}\nIsPublic:\t{5}\nContentType:\t{6}\n",
                                  i + 1, att.Name, att.Description, att.Id, att.BodyLength, att.IsPublic, att.ContentType);
            }
        }
        public void TestCreateDocument() // "0150b000001gZ9NAAU" "0150b000001gZ9SAAU" "0150b000001gh4xAAA"
        {
            Salesforce.SalesforceProxy.Document att = new Salesforce.SalesforceProxy.Document()
            {
                Body              = Encoding.UTF8.GetBytes("abcde"),
                Description       = "API-create Document-PublicSpecified",
                Name              = "TestDocumentFromCodePublic",
                AuthorId          = "0050b0000032fxTAAQ", // User ID - Mihaela Armanasu
                IsPublic          = true,
                IsPublicSpecified = true,
                FolderId          = "00l0b000001u51sAAA"
            };

            Salesforce.SalesforceProxy.SaveResult result = sf.Create(att);
        }