Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

Commented Unassigned: CheckComboBox mvvm problem [20774]

$
0
0
hi

this is my sample

when checked multiple item in CheckComboBox

but only one checked item CheckComboBox save to database

how to save All checked items CheckComboBox to database?

thanks
Comments: ** Comment from web user: md110 **

Hi
thank you
You are right this is out of your scope.


__this.HasMany( t => t.Persons )
.WithMany( p => p.Documents )
.Map( m => m.MapLeftKey("ABC").MapRightKey("DEF") );__

used for Many To Many Relationship

but not work for me
when use this Code Exception:

An error occurred while saving entities that do not expose foreign key properties for their relationships. The EntityEntries property will return null because a single entity cannot be identified as the source of the exception. Handling of exceptions while saving can be made easier by exposing foreign key properties in your entity types. See the InnerException for details


Viewing all articles
Browse latest Browse all 4964

Trending Articles



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