简体   繁体   English

如何从.net Web应用程序访问AX数据库的团队结构?

[英]How to access the team structure of AX database from .net web application?

I need to access the team structure of the company using .net web application, which is stored in AX database. 我需要使用.net Web应用程序访问公司的团队结构,该应用程序存储在AX数据库中。 As I have to specify user privileges based on their department and role . 因为我必须根据用户的部门和角色指定用户特权。

I have searched for it, most of them saying that I have to use business connector. 我已经搜索过了,大多数人说我必须使用商务连接器。 But my question is can I connect the AX's database with out installing business connector? 但是我的问题是我可以在不安装业务连接器的情况下连接AX的数据库吗? If so, then what is the connection string? 如果是这样,那么连接字符串是什么?

Thanks 谢谢

When necessary handling /access data, consider strongly the use of Services/ AIF or .NET Business Connector . 必要时处理/访问数据, 强烈考虑使用服务/ AIF或.NET业务连接器 that way you keep access logic data / permissions and business rules inside AX. 这样,您可以将访问逻辑数据/权限和业务规则保留在AX中。 (Manipulate data directly into the AX database is usually a bad idea) (将数据直接处理到AX数据库中通常不是一个好主意)

However, if your need is just some simple data access, read only , you can create Views within the AX and access this Views by another application using SQL Server Connection Strings (consider these "views/queries" the data permissions "joins/ranges") 但是,如果您仅需要一些简单的数据访问( 只读) ,则可以在AX内创建视图 ,并使用SQL Server连接字符串由另一个应用程序访问此视图(考虑这些“视图/查询”的数据权限为“连接/范围”)。 )

See this link: 看到这个链接:

https://msdn.microsoft.com/en-us/library/aa877498.aspx https://msdn.microsoft.com/zh-CN/library/aa877498.aspx

I hope this helps! 我希望这有帮助!

Regards, 问候,

Rodolfo Recalde 鲁道夫·雷卡尔德

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何访问ASP.NET Web应用程序随附的数据库? - How to access the database that comes with ASP.NET Web Application? 如何从 .NET 应用程序访问 android 应用程序的本地 sqlite 数据库 - How to access local sqlite database of android application from .NET application 无法从ASP.NET连接到AX Web服务,但可以从控制台应用程序连接 - Cannot connect to AX Web Service form ASP.NET but can from Console Application 如何使用实体框架 6 从 .Net 应用程序访问雪花数据库 - How to access Snowflake Database from .Net application using Entity Framework 6 如何从ASP.NET应用程序访问数据库? - How to Access a Database from an ASP.NET Application? 如何通过asp.net Web应用程序和WPF桌面应用程序访问相同的数据库 - How to access same database by both asp.net web application and WPF desktop application 如何将自定义选项卡添加到Team Web Access - How to add custom tab to Team Web Access 如何从 ASP.NET MVC web 应用程序访问手机摄像头? - How to access mobile camera from ASP.NET MVC web application? 如何使用服务应用程序从Web应用程序访问客户端应用程序 - How to access client application from web application with service application 如何从 Outlook api 获取访问令牌到 asp.net Web 应用程序 - How to get access token from outlook api to asp.net web application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM