Hello all,
I want to use databinding with VB.Net, WinForms and EF (DBContext).
Actually there is a Problem to show the Data of the Navigation Properties.
Details you can read here:
http://entityframework.codeplex.com/wik ... %2c%202012
under "Database First WinForms data binding".
The recommend to implement a own T4 template for databinding with winforms.
Actually I changed in the T4 template the type of the navigation property. I replaced
ICollection throug ObservableCollection(of T) and I importet System.Collections.ObjectModel.
With this change databinding seems to work fine.
Now my Questions:
-Is that the right way to use databinding with vb.net and WinForm and what are the
disadvantages of this solution?
-Why doesn't DevArt provide a T4 Template for Datebinding with WinForms. Do you
think that this is a possible option?
Best regards and thank you for every answer.
Ansgar
WinForms & VB.Net & Databinding, ICollection vs. ObservableColection
Re: WinForms & VB.Net & Databinding, ICollection vs. ObservableColection
Your solution seems to be OK.Ansgar wrote:Is that the right way to use databinding with vb.net and WinForm and what are the disadvantages of this solution?
We will investigate the possibility of creating the corresponding T4 template.Ansgar wrote:Why doesn't DevArt provide a T4 Template for Datebinding with WinForms. Do you think that this is a possible option?
Re: WinForms & VB.Net & Databinding, ICollection vs. ObservableColection
Hi Shalex,
thank you for your answer. Firstly I will create my own template.
It would be fine if I can change it through a template created by DevArt later.
Regards, Ansgar
thank you for your answer. Firstly I will create my own template.
It would be fine if I can change it through a template created by DevArt later.
Regards, Ansgar
Re: WinForms & VB.Net & Databinding, ICollection vs. ObservableColection
Hello,
is there anything new on this topic?
Regards, Ansgar
is there anything new on this topic?
Regards, Ansgar
Re: WinForms & VB.Net & Databinding, ICollection vs. ObservableColection
The Enable WinForms Data Binding property of the DbContext template is implemented. We will notify you when the corresponding build of dotConnect for Oracle is available for download.
Re: WinForms & VB.Net & Databinding, ICollection vs. ObservableColection
New build of dotConnect for Oracle 8.4.239 is available for download now!
It can be downloaded from http://www.devart.com/dotconnect/oracle/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=1&t=30327.
It can be downloaded from http://www.devart.com/dotconnect/oracle/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=1&t=30327.