WPF and LLBLGen Pro

Posts   
 
    
rihadd
User
Posts: 22
Joined: 19-Sep-2007
# Posted on: 03-Feb-2009 23:58:41   

Hello,

I've used LLBLGen pro with Window Forms and ASP.NET apps. We are starting a new project and the project manager wants to use WPF. The project amounts to a heavily data driven business application. I was task with researching the feasibility of using WPF, and naturally I would like to know if LLBLGen Pro (the latest version) will lend itself nicely to a WPF application. Are there any show stoppers to be concerned with? TIA for any feedback, Richard

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 05-Feb-2009 07:50:20   

Hi Richard,

LLBLGenPro works with WPF as its classes implements the necessary interfaces WPF expects. Personally I don't know whether or not you will have troubles as no such many people are swimming into WPF. But certainly there are some guys with woking projects based on LLBLGen + WPF. Try make a search of WPF wink

David Elizondo | LLBLGen Support Team
pat
User
Posts: 215
Joined: 02-Mar-2006
# Posted on: 11-Feb-2009 19:27:16   

daelmo wrote:

LLBLGenPro works with WPF as its classes implements the necessary interfaces WPF expects.

LLBLGen overrides Equals and bases it on the primary key which apparently doesn't work with WPF databinding... I haven't tried it yet but it's good to be aware of it: http://forums.lhotka.net/forums/thread/24933.aspx

Thanks, Patrick

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39749
Joined: 17-Aug-2003
# Posted on: 11-Feb-2009 20:29:59   

removing the Equals implementation will break too much code, so I won't do that. I see the problem though. If people really want this, they can override Equals in the CommonEntityBase class and return the result of referenceequals. Be aware that some code might not work anymore.

Frans Bouma | Lead developer LLBLGen Pro