Skip to content

.net soap client wrapper for SugarCRM written using C# .net 3.5. The original idea and name came from Angel Magaña on SugarForge http://www.sugarforge.org/projects/candywrapper/. I have augmented the code to better fit my needs and wanted to release the source code to the community.

Notifications You must be signed in to change notification settings

maxieayala/candywrapper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

There are 3 "main" methods in the library for retrieving and updating sugar modules.

  • GetEntry() - gets a single entry as a SugarEntry
  • SetEntry() - updates a single SugarEntry and returns the id
  • GetEntryList() - returns a list of sugar enteies as List of SugarEntry

A SugarEntry object is a basically a Dictionary<string, string> of key value pairs for properties of a given module. The SugarEntry object also contains properties for id and module.

One of the pains of the sugarsoap api is that it requires a string array of fields you wish to select or update. Some of the overrides in CandyWrapper do not require these field names. In the case that you do not supply the fields, the module is queried for all fields; this field list is then cached and passed to the sugarsoap method.

Please refer to the usage example https://github.com/samkuehn/candywrapper/wiki/Usage and the integration test for usage examples https://github.com/samkuehn/candywrapper/blob/master/src/CandyWrapperTests/IntegrationTests.cs.

About

.net soap client wrapper for SugarCRM written using C# .net 3.5. The original idea and name came from Angel Magaña on SugarForge http://www.sugarforge.org/projects/candywrapper/. I have augmented the code to better fit my needs and wanted to release the source code to the community.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%