Could not open edmx file in DevArt Entity Developer

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
anand123
Posts: 17
Joined: Thu 30 Jan 2014 08:58

Could not open edmx file in DevArt Entity Developer

Post by anand123 » Fri 06 Mar 2015 17:54

when I try to open edmx in Entity Developer getting below error. but same edmx opens in VS and no error while compiling.

MSL parsing failed: The attribute 'StoreEntitySet' of tag 'MappingFragment' has a unexpected value 'T600_VOYACC' at line #12497.

But when I add "s" with entity set names, it opens without error. But there are 120 tables in edmx, change all entity names is not possible. is it any other fix for this?

Code: Select all

<edmx:StorageModels>
      <Schema Namespace="VMModel.Store" Alias="Self" Provider="Devart.Data.Oracle" ProviderManifestToken="Oracle, 11.2.0.1" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns:devart="http://devart.com/schemas/edml/StorageSchemaExtensions/1.0" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl">  
......
<EntitySet Name="T600_VOYACC" EntityType="Self.T600_VOYACC" Schema="SYSADM" store:Type="Tables"  />



<edmx:Mappings>
      <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
        <EntityContainerMapping StorageEntityContainer="VMModelStoreContainer" CdmEntityContainer="VMEntities">
          <EntitySetMapping Name="OPRVoyages">
            <EntityTypeMapping TypeName="VMModel.OPRVoyage">
              <MappingFragment StoreEntitySet="T600_VOYACC">  
                <ScalarProperty Name="VEGenerated" ColumnName="VE_GENERATED" />

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Could not open edmx file in DevArt Entity Developer

Post by Shalex » Mon 09 Mar 2015 14:49

We cannot reproduce the problem with the latest (5.7.556) build of Entity Developer. Please upgrade. If this doesn't help, send us a test *.edmx model which works with Microsoft EDM Designer but fails with Devart Entity Developer.

anand123
Posts: 17
Joined: Thu 30 Jan 2014 08:58

Re: Could not open edmx file in DevArt Entity Developer

Post by anand123 » Tue 10 Mar 2015 12:56

Thanks Shalex .

it works with latest entity developer.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Could not open edmx file in DevArt Entity Developer

Post by Shalex » Tue 10 Mar 2015 14:07

Code: Select all

The 'Instance' member of the Entity Framework provider type 'Devart.Data.Oracle.Entity.OracleEntityProviderServices, Devart.Data.Oracle.Entity, Version=8.4.359.0, [...]
Try the following:

1. Remove old references to the Devart.* assemblies from your project and add the new ones:
C:\Program Files (x86)\Devart\dotConnect\Oracle\Devart.Data.dll
C:\Program Files (x86)\Devart\dotConnect\Oracle\Devart.Data.Oracle.dll
C:\Program Files (x86)\Devart\dotConnect\Oracle\Entity\EF6\Devart.Data.Oracle.Entity.dll

2. Update the dotConnect for Oracle version in the *.config file of your application. Please note that the revision number of provider in the entityFramework section is *.6 (8.4.359.6) but it should be *.0 (8.4.359.0) in DbProviderFactories.

Post Reply