Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

what is the difference between AddToContactSet and AddObject

$
0
0

Hi, 

Can anyone explain, what is the difference between following those?

Approach 1

    _context.AddToContactSet(contactToBeAdded);
 

Approach 2

            _context.AddObject("ContactSet", contactToBeAdded);
            _context.SaveChanges();

Many thanks


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>