public WinStyleSelectForMatchingVM(StylePictureAlbum album, ProStyleMatchingBO matching)
     : this(album)
 {
     _matching = matching;
     if (_matching != null && Entities != null)
     {
         //var matchings = VMGlobal.SysProcessQuery.LinqOP.Search<ProStyleMatching>(o => o.GroupID == groupID).ToList();
         var matchings = matching.Matchings.ToList();
         matchings.ForEach(o =>
         {
             var styles = Entities.Where(e => e.StyleID == o.StyleID && e.ColorID == o.ColorID);
             foreach (var s in styles)
             {
                 s.IsSelected = true;
             }
         });
     }
 }
 public WinStyleSelectForMatchingVM(StylePictureAlbum album)
 {
     _album   = album;
     Entities = this.SearchData();
 }