Quantcast
Channel: CRM Development 論壇
Viewing all articles
Browse latest Browse all 10280

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 10280

Trending Articles