Thanks Jose.
I will take a look.
Joe Rojas | Director of Information Technology | Mats Inc.
dir: (781) 573-0291 | cell: (781) 408-9278 | fax: (781) 232-5191
addr: 179 Campanelli Parkway | Stoughton | MA | 2072
jrojas@... | www.matsinc.com
Ask us about our clean, green and beautiful matting and flooring
[cid:2597a5.png@40dda984.4c8a35db]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Tuesday, May 26, 2015 9:02 PM
To: Vantage
Subject: Re: [Vantage] E10: Trying to better understand ErpContext
As far as I can tell it is an Entity Framework Context
https://msdn.microsoft.com/en-us/data/jj729737.aspx
http://www.entityframeworktutorial.net/EntityFramework4.3/dbcontext-vs-objectcontext.aspx
Hope this helps
Jose C Gomez
Software Engineer
T: 904.469.1524<tel:904.469.1524> mobile
E: jose@...<mailto:jose@...>
http://www.josecgomez.com
[Image removed by sender.]<http://www.linkedin.com/in/josecgomez> [Image removed by sender.] <http://www.facebook.com/josegomez> [Image removed by sender.] <http://www.google.com/profiles/jose.gomez> [Image removed by sender.] <http://www.twitter.com/joc85> [Image removed by sender.] <http://www.josecgomez.com/professional-resume/> [Image removed by sender.] <http://www.josecgomez.com/feed/>
Quis custodiet ipsos custodes?
I will take a look.
Joe Rojas | Director of Information Technology | Mats Inc.
dir: (781) 573-0291 | cell: (781) 408-9278 | fax: (781) 232-5191
addr: 179 Campanelli Parkway | Stoughton | MA | 2072
jrojas@... | www.matsinc.com
Ask us about our clean, green and beautiful matting and flooring
[cid:2597a5.png@40dda984.4c8a35db]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Tuesday, May 26, 2015 9:02 PM
To: Vantage
Subject: Re: [Vantage] E10: Trying to better understand ErpContext
As far as I can tell it is an Entity Framework Context
https://msdn.microsoft.com/en-us/data/jj729737.aspx
http://www.entityframeworktutorial.net/EntityFramework4.3/dbcontext-vs-objectcontext.aspx
Hope this helps
Jose C Gomez
Software Engineer
T: 904.469.1524<tel:904.469.1524> mobile
E: jose@...<mailto:jose@...>
http://www.josecgomez.com
[Image removed by sender.]<http://www.linkedin.com/in/josecgomez> [Image removed by sender.] <http://www.facebook.com/josegomez> [Image removed by sender.] <http://www.google.com/profiles/jose.gomez> [Image removed by sender.] <http://www.twitter.com/joc85> [Image removed by sender.] <http://www.josecgomez.com/professional-resume/> [Image removed by sender.] <http://www.josecgomez.com/feed/>
Quis custodiet ipsos custodes?
On Tue, May 26, 2015 at 2:35 PM, Joe Rojas jrojas@...<mailto:jrojas@...> [vantage] <vantage@yahoogroups.com<mailto:vantage@yahoogroups.com>> wrote:
Hello,
We are still working to convert all our ABL code to C#.
This have been going well but I run into new issues regularly and the root cause is usually in my use of the Db (ErpContext).
I’m wondering if there is a document that does a good job to explain this object or does anyone know the underlying object that I could look up to learn more of how it works and what’s limitations might be?
For example, we have a BPM on UD38.GetaNewUD38 that triggers a bunch of table reads as it gathers data and then it also has a new handle to the UD38 BO that also calls UD38.GetaNewUD38 to insert rows into UD38. I was struggling with it for a while because the call to UD38.Update, from within the BO, was throwing an error message that was not very descript.
I ultimately created a new ErpContext and only used Db for the creation of the BO and then everything worked.
I only thought of this because of other’s helping me out with problems I’ve had in the past.
While I’m glad everything worked, I just feel like I would be better off having a strong understand of how ErpContext works…if even possible. :D
Joe Rojas | Director of Information Technology | Mats Inc.
dir: (781) 573-0291<tel:%28781%29%20573-0291> | cell: (781) 408-9278<tel:%28781%29%20408-9278> | fax: (781) 232-5191<tel:%28781%29%20232-5191>
addr: 179 Campanelli Parkway | Stoughton | MA | 2072
jrojas@...<mailto:jrojas@...> | www.matsinc.com<http://www.matsinc.com>
Ask us about our clean, green and beautiful matting and flooring
[cid:773598.png@52102739.4288f8d9]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]