Connect to D365 TDS (SQL) Endpoint from .Net Core 3.1

Connect to D365 TDS (SQL) Endpoint from .Net Core 3.1

Recently i needed to implement a timer based Azure function to query and process data in D365 CE tables. Due to increasing volume of data i needed apply filters while reading data i.e, either Fetch / Query Expression / WebApi or somehow make it work with SQL. Here TDS (Table Data Stream Protocol: read?here) came in quite helpful as I could do much extended filtering in SQL than querying through Fetch or WebApi queries, saving all in-memory filtering complexity. So the next step was to connect to TDS endpoint for .Net Core 3.1 function code, as classic ADO.Net / SQL Linq DataExtensions is not supported.

Read the full article here

Mathias Blanckaert

Technical Solution Architect | Power Platform, Dynamics 365 CE & Azure

3 年

The new SqlClient (Microsoft.Data.SqlClient) supports oauth2, azure ad auth. https://docs.microsoft.com/en-us/sql/connect/ado-net/sql/azure-active-directory-authentication

要查看或添加评论,请登录

Ameed Sheikh的更多文章

社区洞察

其他会员也浏览了