How to query sql server 2019 graph database in .NET Core 3.1

Xander Valenkamp 6 Reputation points
2020-08-27T13:52:01.397+00:00

How can I query and add/modify a SqlServer 2019 Graph Database in .NET Core 3.1.

Is it possible to do a code first implementation (migrations)?

Is the graph database accesable via entityframeworkcore?

Is documentation / example code available?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,185 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,963 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Cris Zhan-MSFT 6,631 Reputation points
    2020-08-28T06:03:46.913+00:00

    Hi,

    I am not familar with .NET Core and Entity Framework Core, hope more relevant experts would help you.

    About the SQL Graph T-SQL sample script you can refer to following articles:

    Create a graph database and run some pattern matching queries using T-SQL and SHORTEST_PATH (Transact-SQL)

    SQL Server Graph Databases – Part 2: Querying Data in a Graph Database

    ===============================================

    If the response helped, do "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.