New Posts New Posts RSS Feed: LLBLGen Pro
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

LLBLGen Pro

 Post Reply Post Reply
Author
smi-mark View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 24-Feb-2009
Location: Dallas, Texas
Posts: 343
Post Options Post Options   Quote smi-mark Quote  Post ReplyReply Direct Link To This Post Topic: LLBLGen Pro
    Posted: 16-Dec-2010 at 12:31pm
Since it can emit an EDMX, it can work with DevForce. I have gotten a basic project working with it. Since you can't work with the EF model in the EF designer, I had to add a couple bits to the raw xml.

I changed:

<Schema Namespace="TestModel" Alias="Self" xmlns="http://schemas.microsoft.com/ado/2008/09/edm">
        <EntityContainer Name="TestEntities">

to:

<Schema Namespace="TestModel" Alias="Self" xmlns="http://schemas.microsoft.com/ado/2008/09/edm" xmlns:ib10="http://www.ideablade.com/edm/2010">
        <EntityContainer Name="TestEntities" ib10:GenerateDeveloperClasses="true" ib10:DevForceEnabled="true">

Then resaved the edmx, and DevForce generated the developer classes :)

I did however get this error:

DevForce requires that foreign key columns be included in the model. This must be set when the EDMX is first created. If you are upgrading from DevForce 2009, you cannot use the old model and should recreate it using the Entity Framework for .NET 4.0.  The following associations were not set up with foreign key associations enabled:

This I'm sure can be fixed in a flag from LLBL.

Back to Top
smi-mark View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 24-Feb-2009
Location: Dallas, Texas
Posts: 343
Post Options Post Options   Quote smi-mark Quote  Post ReplyReply Direct Link To This Post Posted: 16-Dec-2010 at 11:27am
I don't think you'll get a very favorable answer, unless you can wrap it using POCO (Plain old com objects).

For more information, check this article:

http://drc.ideablade.com/xwiki/bin/view/Documentation/POCOSupportInDevForce

Edit: Interesting, I see that LLBL GenPro emits an EDMX file. Perhaps someone at IdeaBlade can elaborate further then.


Edited by smi-mark - 16-Dec-2010 at 11:40am
Back to Top
indy7 View Drop Down
Newbie
Newbie


Joined: 15-Dec-2010
Posts: 1
Post Options Post Options   Quote indy7 Quote  Post ReplyReply Direct Link To This Post Posted: 15-Dec-2010 at 7:21am
Has anybody any experience in using LLBL GenPro (instead of Entity Framework) with DevForce Silverlight?
I would appreciate any advice or tip.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down