Search found 9 matches

by qq409665701
Fri 25 Jun 2021 03:25
Forum: Entity Developer
Topic: efml associate database informations ?
Replies: 1
Views: 1810

efml associate database informations ?

Can EFML's Model Explorer window associate database views, stored procedures, and constraints?
How does that work?
by qq409665701
Tue 08 Jun 2021 14:32
Forum: Entity Developer
Topic: referential constraint properties in ef core
Replies: 3
Views: 2206

Re: referential constraint properties in ef core

Shalex wrote: Tue 08 Jun 2021 12:37 Could you please send your images via our contact form?
I had done now.
by qq409665701
Tue 08 Jun 2021 08:27
Forum: Entity Developer
Topic: referential constraint properties in ef core
Replies: 3
Views: 2206

referential constraint properties in ef core

I hava a problem.
tool: entity developer 6.11.1218 trial
task: edml to efml
Now, I have parse all Classes and Associations. But some OneToMany association have debug in efml. See image:3.jpg.(efml)
It's ok in edml, like image 2.jpg. and edml's xml in 1.jpg.(edml)
The efml's xml like 4.jpg that i generate.(efml)

How to create OneToMany association with custom define properties in efml?
It shouldn't be 0..1 to * , should be 1 to * in 5.jpg.
Please give us your advice.

image links from baidu disk:
link: https://pan.baidu.com/s/1LABtp3eCYuya-ix_4AXUPQ password: 6js5 复制这段内容后打开百度网盘手机App,操作更方便哦
by qq409665701
Sun 06 Jun 2021 15:56
Forum: Entity Developer
Topic: Does anyone know where to view the Entity Developer Templates API documentation
Replies: 2
Views: 1963

Re: Does anyone know where to view the Entity Developer Templates API documentation

Shalex wrote: Fri 04 Jun 2021 18:21 Entity Developer code generator system is based on its own object model and uses T4-like template language: https://www.devart.com/entitydeveloper/ ... ation.html. Our documentation doesn't include a reference for classes used in the templates, but there are some tips:
  • https://www.devart.com/entitydeveloper/ ... lates.html
  • use IntelliSense feature in our T4 Editor (completion list appears when you type the '.' character)
  • you can switch to the model in design time to read a description of a particular property in the Properties window
  • general T4 reference: https://docs.microsoft.com/en-us/visual ... ew=vs-2019
  • definitions of types in the assemblies
    C:\Program Files (x86)\Common Files\Devart\EntityDeveloper\EntityDeveloper.Common.dll
    C:\Program Files (x86)\Common Files\Devart\EntityDeveloper\EntityDeveloper.Orm.Common.dll
    C:\Program Files (x86)\Common Files\Devart\EntityDeveloper\EntityDeveloper.Orm.EntityFramework.dll
    C:\Program Files (x86)\Common Files\Devart\EntityDeveloper\EntityDeveloper.Orm.EntityFrameworkCore.dll
    may help you to get acquainted with the needed classes and their functionality
Thanks.
We'll explore API usage later when we have free time.
I have to finish my work task first.Thank you anyway.
by qq409665701
Fri 04 Jun 2021 01:22
Forum: Entity Developer
Topic: Does anyone know where to view the Entity Developer Templates API documentation
Replies: 2
Views: 1963

Does anyone know where to view the Entity Developer Templates API documentation

Like:

Code: Select all

EntityDeveloper.EntityFramework.Storage;
EntityDeveloper.EntityFramework.Mapping;
......
by qq409665701
Fri 04 Jun 2021 01:06
Forum: Entity Framework support
Topic: How to convert .edmx to .efml ?
Replies: 6
Views: 8386

Re: How to convert .edmx to .efml ?

qq409665701 wrote: Thu 03 Jun 2021 06:52
Shalex wrote: Wed 02 Jun 2021 17:31
qq409665701 wrote: Wed 02 Jun 2021 02:55 Now, we need to convert edml or edmx to efml.
I read EDMX by parsing XML files, is there a more stable way to do it? Such as t4.
We do not provide an out-of-the-box solution for converting EF6 model to EF Core model. Microsoft documentation about differences between EF6 and EF Core models is available at https://docs.microsoft.com/en-us/ef/efc ... /port-edmx.
I already know about this.(https://docs.microsoft.com/en-us/ef/efc ... /port-edmx)
I wonder if the templates in Entity Developer can resolve EDML?
I don't know if I can get all the EDML information in the template. such as model.Association, model.Classes and so on.
(The fornms can't upload images. The path of template is 'entity developer'->'model explorer'->'templates'->'data transfer object'.)
Where can I view the API documentation of 'entity developer templates'?
by qq409665701
Thu 03 Jun 2021 06:52
Forum: Entity Framework support
Topic: How to convert .edmx to .efml ?
Replies: 6
Views: 8386

Re: How to convert .edmx to .efml ?

Shalex wrote: Wed 02 Jun 2021 17:31
qq409665701 wrote: Wed 02 Jun 2021 02:55 Now, we need to convert edml or edmx to efml.
I read EDMX by parsing XML files, is there a more stable way to do it? Such as t4.
We do not provide an out-of-the-box solution for converting EF6 model to EF Core model. Microsoft documentation about differences between EF6 and EF Core models is available at https://docs.microsoft.com/en-us/ef/efc ... /port-edmx.
I already know about this.(https://docs.microsoft.com/en-us/ef/efc ... /port-edmx)
I wonder if the templates in Entity Developer can resolve EDML?
I don't know if I can get all the EDML information in the template. such as model.Association, model.Classes and so on.
(The fornms can't upload images. The path of template is 'entity developer'->'model explorer'->'templates'->'data transfer object'.)
by qq409665701
Wed 02 Jun 2021 02:55
Forum: Entity Framework support
Topic: How to convert .edmx to .efml ?
Replies: 6
Views: 8386

Re: How to convert .edmx to .efml ?

Shalex wrote: Wed 12 May 2021 18:37 ADO.NET Entity Data Model (*.edmx) can be converted to Devart Entity Model (*.edml) with Entity Developer.

Neither *.edmx, no *.edml can be converted to Devart EF Core Model (*.efml) because it uses a different object model.

You should create a new *.efml model with Database-First approach and add the existing database objects with Create Model Wizard or Update From Database Wizard.
Thank you for your answer and attention!
EDML has some information attached to it that is not in the database, so i can't use database first way to generate efml. Now, we need to convert edml or edmx to efml.
I read EDMX by parsing XML files, is there a more stable way to do it? Such as t4.
by qq409665701
Mon 10 May 2021 07:52
Forum: Entity Framework support
Topic: How to convert .edmx to .efml ?
Replies: 6
Views: 8386

How to convert .edmx to .efml ?

I need to convert edmx(entityframework model) to efml(entityframework core model). I have not find some solutions all the thime.

Thanks.