BindingSource Support

Jun 8, 2015 at 12:09 PM
Edited Jun 8, 2015 at 12:11 PM
Hi,

Is there any easy way to bind a master/detail entity to a bindingsource (Bound to a DataGridView) with VITA?

The problem is with the insert of new rows, the bindingsource add method adds a new line, but vita entities have to be created using the session.NewEntity so is dos not work out of the box, any "magic" available for this senario?

O know that vita's mais focus is not for winforms but it is so good that i use it in every thing i do :)

Regards
Jun 8, 2015 at 12:18 PM
I think i can hook to the AddingNew event to do this, will try it and see if it works.
Jun 8, 2015 at 12:52 PM
Works as expected. GREAT.