Print Page | Close Window

Why am I getting this warning?

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=2297
Printed Date: 26-Apr-2026 at 10:45am


Topic: Why am I getting this warning?
Posted By: goodguy
Subject: Why am I getting this warning?
Date Posted: 11-Nov-2010 at 8:24am
I have just made a very shocking discovery relating to IdeaBlade on  my machine:
I installed the Express version yesterday for trials and now I find it preventing me from adding an edmx to another project I have been working on from Julie Lerman's book, Programming Entity Framework 4, with this warning message:

Error7 Running transformation: IdeaBlade.Core.IdeaBladeLicenseException: This is an 'Express' version of IdeaBlade DevForce and is limited to building domain models with no more than 10 entity types. at IdeaBlade.EntityModel.Edm.Metadata.EdmxWrapper.CheckLicenseKey(EdmxWrapper edmx)....

I understand it if IdeaBlade permits me a maximum of 10 entities in a DevForce project, but for goodness sake, not on other projects please!!!

Can someone senior give an URGENT response on this please?



Replies:
Posted By: kimj
Date Posted: 11-Nov-2010 at 11:46am
I know you've already received an answer from your account executive, but I'll explain why we do what we do. 
 
Once you install DevForce, the DevForce OM Designer Extension is installed and enabled within Visual Studio.  It's this extension that adds DevForce-specific attributes to your EDMX and controls code generation.   We made the decision that when the extension is enabled, any EDMXes you create, in any type of project, will by default be "DevForce-enabled" EDMXes.  You can turn this off on an EDMX by EDMX basis by setting the "DevForce Enabled" attribute in the EDMX to false, or you can disable the designer extension, which turns off DevForce-enabling of all EDMXes.
 
We haven't previously considered disabling DevForce by default except for "DevForce projects".    Although you can use the templates to create a DevForce project, we don't require this: so any type of project can be a DevForce one by including the appropriate assembly references.   This is an interesting request, though, but we'd like to hear from others that this is the desired behavior, since we can also imagine users being quite irritated with the opposite behavior too.
 
Thanks for your feedback!


Posted By: goodguy
Date Posted: 11-Nov-2010 at 10:00pm
Thank you. A compromise agreement would be to disable the feature by default on projects based non-DevForce templatesfor those with Express editions. Because the people with premium editions would not be affected either way. And IdeaBlade will have guarded its interests too.



Print Page | Close Window