where is pop-up window in DevArt "stored procedure mapping"?

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
gr8user
Posts: 16
Joined: Wed 24 Aug 2016 23:45

where is pop-up window in DevArt "stored procedure mapping"?

Post by gr8user » Fri 28 Oct 2016 17:15

Hi,
I'm looking how to attach particular sequence and procedure to particular identity of the classes. It is described as right click on class and choose option "stored procedure mapping" . But I don't have this choice.... https://www.devart.com/dotconnect/oracl ... ngCUD.html

I can see DB explorer and was able to create Method using package function. ( as it is described in this article). But could not mapped it to class or any identity of the class.
I have found this article about how to attach particular sequence and procedure to particular identity of the classes and want use it in LIS Data Model .
http://blog.devart.com/set-identity-and ... 1466702938

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Re: where is pop-up window in DevArt "stored procedure mapping"?

Post by Pinturiccio » Tue 01 Nov 2016 14:11

Please tell us which ORM you use. https://www.devart.com/dotconnect/oracl ... ngCUD.html article is for the Entity Framework ORM.

gr8user
Posts: 16
Joined: Wed 24 Aug 2016 23:45

Re: where is pop-up window in DevArt "stored procedure mapping"?

Post by gr8user » Wed 02 Nov 2016 00:34

I'm using Entity Framework version 6.0.96

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Re: where is pop-up window in DevArt "stored procedure mapping"?

Post by Pinturiccio » Thu 03 Nov 2016 17:32

Please make sure that you search "Stored Procedure Mapping" in the menu of Dept class in Database Explorer, not in Server Explorer or Solution Explorer, as described in the tutorial https://www.devart.com/dotconnect/oracl ... ngCUD.html.

Please also send us a screenshot of your Visual Studio with missing "Stored Procedure Mapping" command in the menu.

gr8user
Posts: 16
Joined: Wed 24 Aug 2016 23:45

Re: where is pop-up window in DevArt "stored procedure mapping"?

Post by gr8user » Fri 04 Nov 2016 02:13

How can added screenshot ? I didn't see this option available to me.
I asked the same question in Customer Support Hot Line and was able to attach screenshot there. Our company has official licence for DevArt.

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Re: where is pop-up window in DevArt "stored procedure mapping"?

Post by Pinturiccio » Fri 04 Nov 2016 08:58

You can send it to us via our contact form. Or you can place your screenshot anywhere in the Internet and post the URL to it here.

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Re: where is pop-up window in DevArt "stored procedure mapping"?

Post by Pinturiccio » Fri 04 Nov 2016 15:36

Thank you for the good screenshot that you send to our support team.

Your screenshot shows the NHibernate model DataModel1.hbml. The tutorial https://www.devart.com/dotconnect/oracl ... ngCUD.html is intended only for Entity Framework models (*.edml). There is no "Stored Procedure Mapping" command in the menu for NHibernate models, and this tutorial is not applicable for NHibernate models.

gr8user
Posts: 16
Joined: Wed 24 Aug 2016 23:45

Re: where is pop-up window in DevArt "stored procedure mapping"?

Post by gr8user » Fri 04 Nov 2016 16:19

Thank you for response and disappointment. Sorry, for questions, but I'm new in the world of DevArt and actually I'm Oracle Developer.
What can be done for NHibernate model DataModel1.hbml? Where can I read about difference between Entity Framework models (*.edml) and NHibernate models (*.hbml)?

For me it is important to have ability assign particular sequence and stored procedure to populate particular fields on insert. I'm doing it now through Oracle triggers, but I want to have clear picture for developers of application about what sequence assigned to particular field ( entity / property of class?) and what procedure assigned to field.

Thanks again for all answers.

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Re: where is pop-up window in DevArt "stored procedure mapping"?

Post by Pinturiccio » Mon 07 Nov 2016 14:30

Entity Framework and NHibernate are two different ORMs. Devart does not develop these ORMs, it just supports working with them. You can read about how to use NHibernate with Devart Entity Developer in Entity Developer documentation which can be downloaded from our site https://www.devart.com/entitydeveloper/download.html

Our documentation describes how to design NHiberbnate models in our designer; however, it is assumed that the user already has some knowledge of the ORM itself. To study NHibernate in more details, you can read their own documentation http://nhibernate.info/doc/

Post Reply