Exemplo n.º 1
0
        public static bool UpdateUserProfile(UserProfile Profiles)
        {
            EntityCollection collection = new EntityCollection();

            collection.EntityName = "appl_membershipprofile";
            Profiles.Fields.ForEach(profile => collection.Entities.Add(profile.ToEntity()));
            return(XrmCore.BulkSave(collection));
        }