locked
difference between 'context.savechanges' and 'usermanager.updateuser' is? RRS feed

  • Question

  • User297437924 posted

    I've been porting code from membership to identity, and using sample code from various Microsoft projects.  (I've been doing this for 2 weeks, but there is now light at the end of the tunnel.)

    I sometimes see 'context.savechanges' in the code I borrow.

    It does not compile.

    Can I replace it by:  usermanager.updateuser(theuser)?

    Are they the same thing?

    Thanks.

    Sunday, March 4, 2018 12:22 PM

All replies