New Posts New Posts RSS Feed: How to disable DevForce integration in projects?
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

How to disable DevForce integration in projects?

 Post Reply Post Reply
Author
katit View Drop Down
Senior Member
Senior Member


Joined: 09-Sep-2011
Posts: 146
Post Options Post Options   Quote katit Quote  Post ReplyReply Direct Link To This Post Topic: How to disable DevForce integration in projects?
    Posted: 06-Nov-2011 at 10:39am
I'm using DevForce in one project but not in others. Now, every time I edit plain Entity Model - DevForce kicks in, generates classes, etc.
 
I have to (every time!):
1. Set DevForce enabled to false
2. Save model
3. Remove "stock" genereated model (because I use my own templates)
4. Delete "Custom Tool" property from entity model.
5. Delete DevForce references from project
 
And next time I modify model - I have to do all that again. Any way to stop it?
 
EDIT: I'm not so sure about every time. Seems like after I disable DevForce integration it works permanently but it did kick it back on somehow in number of occasions.


Edited by katit - 06-Nov-2011 at 11:09am
Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Posted: 07-Nov-2011 at 2:13pm
Hi katit;

Disabling the DevForce Enabled property on the designer should do the job. As far as I know, this property can't be set anywhere else other than on the designer.

There's one other possibility that I can think of. When you set this property to false, it'll add the following xml annotation to the .edmx file under the CSDL content.

 <edmx:ConceptualModels>
      <Schema Namespace="NorthwindIBModel" Alias="Self" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns="http://schemas.microsoft.com/ado/2008/09/edm" xmlns:ib10="http://www.ideablade.com/edm/2010">
        <EntityContainer Name="NorthwindIBEntitityManager" annotation:LazyLoadingEnabled="true" ib10:EntityManagerName="DomainModelEntityManager" ib10:DevForceEnabled="false">

if the annotation is not there, by default, DevForce Enabled is set to true.

If it happens again in the future, perhaps you can see if this setting somehow got "erased" by opening the edmx in xml format.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down