Connecting to Databases through X++ PART -III OLEDB Connection: OLEDB is a set of APIs designed by Microsoft and used for accessing different types of data stored in a uniform manner. Dynamics AX as such doesn’t have any specific classes built for this purpose. But one can make use of .Net Framework’s System.Data.OleDb namespace through AX’s COM Interoperability feature and use it in AX. Below is an example code that depicts this scenario: static void dbOLEDBConnection(Args _args) { System.Exception...(read more)
↧