diff --git a/docs/caching/stackexchange-redis-distributed-caching-integration.md b/docs/caching/stackexchange-redis-distributed-caching-integration.md index fada24401f..7aa1d1e8ac 100644 --- a/docs/caching/stackexchange-redis-distributed-caching-integration.md +++ b/docs/caching/stackexchange-redis-distributed-caching-integration.md @@ -156,7 +156,8 @@ You can also set up the [ConfigurationOptions](https://stackexchange.github.io/S ```csharp builder.AddRedisDistributedCache( "cache", - static settings => settings.ConnectTimeout = 3_000); + null, + static options => options.ConnectTimeout = 3_000); ``` [!INCLUDE [redis-distributed-client-health-checks-and-diagnostics](includes/redis-distributed-client-health-checks-and-diagnostics.md)] diff --git a/docs/database/entity-framework-core-integration-overview.md b/docs/database/entity-framework-core-integration-overview.md index 3a3aa02ad7..712ed54a09 100644 --- a/docs/database/entity-framework-core-integration-overview.md +++ b/docs/database/entity-framework-core-integration-overview.md @@ -8,9 +8,9 @@ zone_pivot_groups: entity-framework-client-integration # Entity Framework Core overview -In a cloud-native solution, such as those .NET Aspire is built to create, microservices often need to store data in relational databases. .NET Aspire includes integrations that you can use to ease that task, some of which use the Entity Framework Core(EF Core) object-relational mapper (O/RM) approach to streamline the process. +In a cloud-native solution, such as those .NET Aspire is built to create, microservices often need to store data in relational databases. .NET Aspire includes integrations that you can use to ease that task, some of which use the Entity Framework Core (EF Core) object-relational mapper (O/RM) approach to streamline the process. -Developers use O/RMs to work with databases using code objects instead of SQL queries. EF Core automatically codes database interactions by generating SQL queries based on LINQ queries. EF Core supports various database providers, including SQL Server, PostgreSQL, and MySQL, so it's easy to interact with relational databases while following object-oriented principles. +Developers use O/RMs to work with databases using code objects instead of SQL queries. EF Core automatically codes database interactions by generating SQL queries based on Language-Integrated Query (LINQ) queries. EF Core supports various database providers, including SQL Server, PostgreSQL, and MySQL, so it's easy to interact with relational databases while following object-oriented principles. The most commonly used .NET Aspire EF Core client integrations are: @@ -20,8 +20,88 @@ The most commonly used .NET Aspire EF Core client integrations are: - [PostgreSQL Entity Framework Core integration](postgresql-entity-framework-integration.md) - [SQL Server Entity Framework Core integration](sql-server-entity-framework-integration.md) +## Overview of EF Core + +O/RMs create a model that matches the schema and relationships defined in the database. Code against this model to query the data, create new records, or make other changes. In EF Core the model consists of: + +- A set of entity classes, each of which represents a table in the database and its columns. +- A context class that represents the whole database. + +An entity class might look like this: + +```csharp +using System.ComponentModel.DataAnnotations; + +namespace SupportDeskProject.Data; + +public sealed class SupportTicket +{ + public int Id { get; set; } + [Required] + public string Title { get; set; } = string.Empty; + [Required] + public string Description { get; set; } = string.Empty; +} +``` + +This entity class represents a database table with three columns: **Id**, **Title**, and **Description**. + +A context class must inherit from and looks like this: + +```csharp +using Microsoft.EntityFrameworkCore; +using System.Reflection.Metadata; + +namespace SupportDeskProject.Data; + +public class TicketContext(DbContextOptions options) : DbContext(options) +{ + public DbSet Tickets => Set(); +} +``` + +This context represents a database with a single table of support tickets. An instance of the context is usually created for each unit of work in the database. For example, a unit of work might be the creation of a new customer, and require changes in the Customers and Addresses tables. Once the unit of work is complete, you should dispose of the context. + +> [!NOTE] +> For more information about creating models in EF Core, see [Creating and Configuring a Model](/ef/core/modeling/) in the EF Core documentation. + +Once you've created a model, you can use LINQ to query it: + +```csharp +using (var db = new TicketContext()) +{ + var tickets = await db.Tickets + .Where(t => t.Title = "Unable to log on") + .OrderBy(t => t.Description) + .ToListAsync(); +} +``` + > [!NOTE] -> In .NET Aspire, EF Core is implemented by client integrations, not hosting integrations. So, for example, to use EF Core with a SQL Server database, you'd use the SQL Server hosting integration to create the SQL Server container and add a database to it. In the consuming microservices, when you want to use EF Core, choose the SQL Server Entity Framework Core integration instead of the SQL Server client integration. +> EF Core also supports creating, modifying, and deleted records and complex queries. For more information, see [Querying Data](/ef/core/querying/) and [Saving Data](/ef/core/saving/) + +## How .NET Aspire can help + +.NET Aspire is designed to help build observable, production-ready, cloud-native solutions that consist of multiple microservices. It orchestrates multiple projects, each of which may be a microservice written by a dedicated team, and connects them to each other. It provides integrations that make it easy to connect to common services, such as databases. + +If you want to use EF Core in any of your microservices, .NET Aspire can help by: + +- Managing the database container, or a connection to an existing database, centrally in the App Host project and passing its reference to any project that uses it. + + > [!IMPORTANT] + > In .NET Aspire, EF Core is implemented by client integrations, not hosting integrations. The centralized management of the database in the App Host doesn't involve EF Core, which runs in consuming microservice projects instead. For more information, see [Cosmos DB Hosting integration](/dotnet/aspire/database/azure-cosmos-db-entity-framework-integration#hosting-integration), [MySQL Pomelo Hosting integration](/dotnet/aspire/database/mysql-entity-framework-integration#hosting-integration), [Oracle Hosting integration](/dotnet/aspire/database/oracle-entity-framework-integration#hosting-integration), [PostgreSQL Hosting integration](/dotnet/aspire/database/postgresql-entity-framework-integration#hosting-integration), or [SQL Server Hosting integration](/dotnet/aspire/database/sql-server-entity-framework-integration#hosting-integration). + +- Providing EF Core-aware integrations that make it easy to create contexts in microservice projects. There are EF Core integrations for SQL Server, MySQL, PostgreSQL, Oracle, Cosmos DB, and other popular database systems. + +To use EF Core in your microservice, you must: + +- Define the EF Core model with entity classes and context classes. +- Create an instance of the data context, using the reference passed from the App Host, and add it to the Dependency Injection (DI) container. +- When you want to interact with the database, obtain the context from DI and use it to execute LINQ queries against the database as normal for any EF Core code. + +:::image type="content" source="media/ef-core-aspire-architecture-thumb.png" lightbox="media/ef-core-aspire-architecture-large.png" alt-text="A diagram showing how .NET Aspire utilizes EF Core to interact with a database.." ::: + +Both defining the EF Core model and querying the database are the same in .NET Aspire projects as in any other EF Core app. However, creating the data context differs. In the rest of this article, you'll learn how to create an configure EF Core contexts in .NET Aspire project. ## Use .NET Aspire to create an EF Core context diff --git a/docs/database/media/ef-core-aspire-architecture-large.png b/docs/database/media/ef-core-aspire-architecture-large.png new file mode 100644 index 0000000000..2e4eece4f3 Binary files /dev/null and b/docs/database/media/ef-core-aspire-architecture-large.png differ diff --git a/docs/database/media/ef-core-aspire-architecture-thumb.png b/docs/database/media/ef-core-aspire-architecture-thumb.png new file mode 100644 index 0000000000..24efc63b70 Binary files /dev/null and b/docs/database/media/ef-core-aspire-architecture-thumb.png differ diff --git a/docs/database/media/ef-core-aspire-architecture.excalidraw b/docs/database/media/ef-core-aspire-architecture.excalidraw new file mode 100644 index 0000000000..ce3834c551 --- /dev/null +++ b/docs/database/media/ef-core-aspire-architecture.excalidraw @@ -0,0 +1,909 @@ +{ + "type": "excalidraw", + "version": 2, + "source": "https://excalidraw.com", + "elements": [ + { + "id": "mS4BrKV5OCrY8RidR1mAW", + "type": "rectangle", + "x": 883.5, + "y": 269, + "width": 545.5000000000001, + "height": 211.00000000000006, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#d0bfff", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "groupIds": [], + "frameId": null, + "index": "a0", + "roundness": { + "type": 3 + }, + "seed": 1659475160, + "version": 378, + "versionNonce": 322219176, + "isDeleted": false, + "boundElements": [], + "updated": 1742819402805, + "link": null, + "locked": false + }, + { + "id": "XJiGgsS9E5oXTklWkaP6f", + "type": "rectangle", + "x": 856.5, + "y": 242, + "width": 545.5000000000001, + "height": 211.00000000000006, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#d0bfff", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "groupIds": [], + "frameId": null, + "index": "a1", + "roundness": { + "type": 3 + }, + "seed": 1889399720, + "version": 371, + "versionNonce": 1544841944, + "isDeleted": false, + "boundElements": [], + "updated": 1742819387556, + "link": null, + "locked": false + }, + { + "id": "tuSrjfpexoIxxlPbY_TGb", + "type": "rectangle", + "x": 414, + "y": 215.5, + "width": 265, + "height": 211.50000000000006, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#d0bfff", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "groupIds": [], + "frameId": null, + "index": "a2", + "roundness": { + "type": 3 + }, + "seed": 1190347914, + "version": 198, + "versionNonce": 1603974568, + "isDeleted": false, + "boundElements": [ + { + "id": "evCdFwWWGizPuPhZJ4XE_", + "type": "arrow" + }, + { + "id": "wOcxiG2JyxMeRCu8NY3sh", + "type": "arrow" + } + ], + "updated": 1742819301042, + "link": null, + "locked": false + }, + { + "id": "tb98gNAETRiXa1Lmcrj-9", + "type": "rectangle", + "x": 447.5, + "y": 195.5, + "width": 167, + "height": 41.99999999999999, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#a5d8ff", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "groupIds": [ + "-2eg-rQJ4UsyTqPCVzHJV" + ], + "frameId": null, + "index": "a2V", + "roundness": { + "type": 3 + }, + "seed": 857912086, + "version": 76, + "versionNonce": 1102479498, + "isDeleted": false, + "boundElements": [], + "updated": 1742812023197, + "link": null, + "locked": false + }, + { + "id": "-Y_cpVuF9DxBsK01saKej", + "type": "text", + "x": 486.5, + "y": 202.5, + "width": 86.56666564941406, + "height": 27, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#a5d8ff", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "groupIds": [ + "-2eg-rQJ4UsyTqPCVzHJV" + ], + "frameId": null, + "index": "a3", + "roundness": null, + "seed": 427245142, + "version": 75, + "versionNonce": 1260012630, + "isDeleted": false, + "boundElements": [], + "updated": 1742813104835, + "link": null, + "locked": false, + "text": "App Host", + "fontSize": 20, + "fontFamily": 6, + "textAlign": "left", + "verticalAlign": "top", + "containerId": null, + "originalText": "App Host", + "autoResize": true, + "lineHeight": 1.35 + }, + { + "id": "Q8Qok93EqNkkTyKznXa4L", + "type": "rectangle", + "x": 828, + "y": 215.5, + "width": 545.5000000000001, + "height": 211.00000000000006, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#d0bfff", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "groupIds": [], + "frameId": null, + "index": "a5", + "roundness": { + "type": 3 + }, + "seed": 1432208522, + "version": 321, + "versionNonce": 81430440, + "isDeleted": false, + "boundElements": [], + "updated": 1742819262070, + "link": null, + "locked": false + }, + { + "id": "hKX05htPXN6y7nHRYPZTX", + "type": "rectangle", + "x": 870, + "y": 194.5, + "width": 264.50000000000006, + "height": 41.99999999999999, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#a5d8ff", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "groupIds": [ + "MUbtilTn8akoZEgBQHr_j" + ], + "frameId": null, + "index": "a5V", + "roundness": { + "type": 3 + }, + "seed": 1224010634, + "version": 155, + "versionNonce": 80464086, + "isDeleted": false, + "boundElements": [], + "updated": 1742812221545, + "link": null, + "locked": false + }, + { + "id": "WQoa79Fi7Qy-BZOUPUEO_", + "type": "text", + "x": 909, + "y": 201.5, + "width": 190.46665954589844, + "height": 27, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#a5d8ff", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "groupIds": [ + "MUbtilTn8akoZEgBQHr_j" + ], + "frameId": null, + "index": "a6", + "roundness": null, + "seed": 790817354, + "version": 126, + "versionNonce": 1431459722, + "isDeleted": false, + "boundElements": [], + "updated": 1742812221545, + "link": null, + "locked": false, + "text": "Microservice Projects", + "fontSize": 20, + "fontFamily": 6, + "textAlign": "left", + "verticalAlign": "top", + "containerId": null, + "originalText": "Microservice Projects", + "autoResize": true, + "lineHeight": 1.35 + }, + { + "id": "MWyh2DDdmwCwrHezlAMIC", + "type": "rectangle", + "x": 1114, + "y": 272, + "width": 236.99999999999994, + "height": 132, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#e9ecef", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "groupIds": [], + "frameId": null, + "index": "a8", + "roundness": { + "type": 3 + }, + "seed": 493031114, + "version": 170, + "versionNonce": 351962840, + "isDeleted": false, + "boundElements": [], + "updated": 1742819253650, + "link": null, + "locked": false + }, + { + "id": "6pn3fHxFdMYZ6kP--bYs1", + "type": "text", + "x": 1153.75, + "y": 298, + "width": 148.10000610351562, + "height": 81, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "transparent", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "groupIds": [], + "frameId": null, + "index": "a9", + "roundness": null, + "seed": 12991912, + "version": 130, + "versionNonce": 246672344, + "isDeleted": false, + "boundElements": null, + "updated": 1742819253650, + "link": null, + "locked": false, + "text": "Model:\nEntity classes\nDbContext class", + "fontSize": 20, + "fontFamily": 6, + "textAlign": "left", + "verticalAlign": "top", + "containerId": null, + "originalText": "Model:\nEntity classes\nDbContext class", + "autoResize": true, + "lineHeight": 1.35 + }, + { + "id": "Zuj7IumbvYVnQKCT_mlw0", + "type": "rectangle", + "x": 849.75, + "y": 272, + "width": 236.99999999999994, + "height": 132, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#e9ecef", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "groupIds": [], + "frameId": null, + "index": "aA", + "roundness": { + "type": 3 + }, + "seed": 682874072, + "version": 240, + "versionNonce": 905490648, + "isDeleted": false, + "boundElements": [ + { + "id": "evCdFwWWGizPuPhZJ4XE_", + "type": "arrow" + }, + { + "id": "rg5jDa5xmU4z_T61hOyuC", + "type": "arrow" + } + ], + "updated": 1742819253650, + "link": null, + "locked": false + }, + { + "id": "R-APM5ZdVwFO7wAuwA6ya", + "type": "rectangle", + "x": 875.5, + "y": 252.5, + "width": 164.5, + "height": 41.99999999999999, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#a5d8ff", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "groupIds": [], + "frameId": null, + "index": "aC", + "roundness": { + "type": 3 + }, + "seed": 1387442600, + "version": 261, + "versionNonce": 1492409048, + "isDeleted": false, + "boundElements": [], + "updated": 1742819253651, + "link": null, + "locked": false + }, + { + "id": "T731-yxkAZicioK0iP2RK", + "type": "text", + "x": 903, + "y": 260.5, + "width": 112.80000305175781, + "height": 27, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#a5d8ff", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "groupIds": [], + "frameId": null, + "index": "aD", + "roundness": null, + "seed": 1337867432, + "version": 276, + "versionNonce": 1548959704, + "isDeleted": false, + "boundElements": [], + "updated": 1742819253651, + "link": null, + "locked": false, + "text": "DI Container", + "fontSize": 20, + "fontFamily": 6, + "textAlign": "left", + "verticalAlign": "top", + "containerId": null, + "originalText": "DI Container", + "autoResize": true, + "lineHeight": 1.35 + }, + { + "id": "gJopdOp_NdQKPRS6_mhLI", + "type": "rectangle", + "x": 877.75, + "y": 316.5, + "width": 190, + "height": 73, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#228be6", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "groupIds": [], + "frameId": null, + "index": "aE", + "roundness": { + "type": 3 + }, + "seed": 591177640, + "version": 56, + "versionNonce": 1015907544, + "isDeleted": false, + "boundElements": null, + "updated": 1742819253651, + "link": null, + "locked": false + }, + { + "id": "ROOTpcaC0IgKLiUOfUaig", + "type": "text", + "x": 910.1999969482422, + "y": 326.5, + "width": 102.76667022705078, + "height": 54, + "angle": 0, + "strokeColor": "#ffffff", + "backgroundColor": "transparent", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "groupIds": [], + "frameId": null, + "index": "aF", + "roundness": null, + "seed": 2079946712, + "version": 267, + "versionNonce": 121055704, + "isDeleted": false, + "boundElements": [ + { + "id": "rg5jDa5xmU4z_T61hOyuC", + "type": "arrow" + } + ], + "updated": 1742819253651, + "link": null, + "locked": false, + "text": "DbContext \ninstance", + "fontSize": 20, + "fontFamily": 6, + "textAlign": "left", + "verticalAlign": "top", + "containerId": null, + "originalText": "DbContext \ninstance", + "autoResize": true, + "lineHeight": 1.35 + }, + { + "id": "RYmiLnxuy7V5m6mreGJCO", + "type": "rectangle", + "x": 556.25, + "y": 547.25, + "width": 382, + "height": 167.49999999999997, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#d0bfff", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "groupIds": [], + "frameId": null, + "index": "aG", + "roundness": { + "type": 3 + }, + "seed": 1817252568, + "version": 228, + "versionNonce": 121677528, + "isDeleted": false, + "boundElements": [], + "updated": 1742819365737, + "link": null, + "locked": false + }, + { + "id": "Dzw8zo663kpdEaGaztyvT", + "type": "rectangle", + "x": 591.75, + "y": 525.75, + "width": 246.99999999999997, + "height": 41.99999999999999, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#a5d8ff", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "groupIds": [], + "frameId": null, + "index": "aH", + "roundness": { + "type": 3 + }, + "seed": 1398339544, + "version": 136, + "versionNonce": 45369256, + "isDeleted": false, + "boundElements": [], + "updated": 1742819343589, + "link": null, + "locked": false + }, + { + "id": "euPzFqcX7voWRUsc8TUd5", + "type": "text", + "x": 630.75, + "y": 531.75, + "width": 175.10000610351562, + "height": 27, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#a5d8ff", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "groupIds": [], + "frameId": null, + "index": "aI", + "roundness": null, + "seed": 974929112, + "version": 148, + "versionNonce": 1998394024, + "isDeleted": false, + "boundElements": [ + { + "id": "wOcxiG2JyxMeRCu8NY3sh", + "type": "arrow" + }, + { + "id": "rg5jDa5xmU4z_T61hOyuC", + "type": "arrow" + } + ], + "updated": 1742819343589, + "link": null, + "locked": false, + "text": "Database container", + "fontSize": 20, + "fontFamily": 6, + "textAlign": "left", + "verticalAlign": "top", + "containerId": null, + "originalText": "Database container", + "autoResize": true, + "lineHeight": 1.35 + }, + { + "id": "evCdFwWWGizPuPhZJ4XE_", + "type": "arrow", + "x": 679.9760860118038, + "y": 318.5016587324216, + "width": 147.67573053166439, + "height": 0.5068139827098435, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#d0bfff", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "groupIds": [], + "frameId": null, + "index": "aJ", + "roundness": { + "type": 2 + }, + "seed": 973104600, + "version": 120, + "versionNonce": 164404696, + "isDeleted": false, + "boundElements": null, + "updated": 1742819317601, + "link": null, + "locked": false, + "points": [ + [ + 0, + 0 + ], + [ + 147.67573053166439, + -0.5068139827098435 + ] + ], + "lastCommittedPoint": null, + "startBinding": { + "elementId": "tuSrjfpexoIxxlPbY_TGb", + "focus": -0.021564572014855246, + "gap": 1 + }, + "endBinding": { + "elementId": "Zuj7IumbvYVnQKCT_mlw0", + "focus": 0.3085183310688611, + "gap": 22.098183456531842 + }, + "startArrowhead": null, + "endArrowhead": "triangle", + "elbowed": false + }, + { + "id": "9-Yo_IhuYRw0NZ9ruIT7a", + "type": "text", + "x": 707.25, + "y": 255, + "width": 84.06666564941406, + "height": 54, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#d0bfff", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "groupIds": [], + "frameId": null, + "index": "aL", + "roundness": null, + "seed": 1175089320, + "version": 94, + "versionNonce": 2111576792, + "isDeleted": false, + "boundElements": null, + "updated": 1742819321677, + "link": null, + "locked": false, + "text": "Pass\nreference", + "fontSize": 20, + "fontFamily": 6, + "textAlign": "left", + "verticalAlign": "top", + "containerId": null, + "originalText": "Pass\nreference", + "autoResize": true, + "lineHeight": 1.35 + }, + { + "id": "wOcxiG2JyxMeRCu8NY3sh", + "type": "arrow", + "x": 556.5929623720922, + "y": 427.624516669269, + "width": 131.05456239945318, + "height": 94.3754833307309, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#d0bfff", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "groupIds": [], + "frameId": null, + "index": "aM", + "roundness": { + "type": 2 + }, + "seed": 1543891368, + "version": 162, + "versionNonce": 439647656, + "isDeleted": false, + "boundElements": null, + "updated": 1742819343590, + "link": null, + "locked": false, + "points": [ + [ + 0, + 0 + ], + [ + 131.05456239945318, + 94.3754833307309 + ] + ], + "lastCommittedPoint": null, + "startBinding": { + "elementId": "tuSrjfpexoIxxlPbY_TGb", + "focus": 0.4937876583000737, + "gap": 1 + }, + "endBinding": { + "elementId": "euPzFqcX7voWRUsc8TUd5", + "focus": 0.013273613711902454, + "gap": 9.750000000000114 + }, + "startArrowhead": null, + "endArrowhead": "triangle", + "elbowed": false + }, + { + "id": "NFSxZvEwIuEPB2vzGvG9m", + "type": "text", + "x": 537.716667175293, + "y": 464, + "width": 59.733333587646484, + "height": 27, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#d0bfff", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "groupIds": [], + "frameId": null, + "index": "aN", + "roundness": null, + "seed": 2007149480, + "version": 156, + "versionNonce": 2139590056, + "isDeleted": false, + "boundElements": [], + "updated": 1742819358787, + "link": null, + "locked": false, + "text": "Create", + "fontSize": 20, + "fontFamily": 6, + "textAlign": "left", + "verticalAlign": "top", + "containerId": null, + "originalText": "Create", + "autoResize": true, + "lineHeight": 1.35 + }, + { + "id": "rg5jDa5xmU4z_T61hOyuC", + "type": "arrow", + "x": 941.8450969188149, + "y": 390.5, + "width": 134.13424305356887, + "height": 130.5, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#d0bfff", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "groupIds": [], + "frameId": null, + "index": "aP", + "roundness": { + "type": 2 + }, + "seed": 984099544, + "version": 118, + "versionNonce": 1562806440, + "isDeleted": false, + "boundElements": null, + "updated": 1742819343590, + "link": null, + "locked": false, + "points": [ + [ + 0, + 0 + ], + [ + -134.13424305356887, + 130.5 + ] + ], + "lastCommittedPoint": null, + "startBinding": { + "elementId": "ROOTpcaC0IgKLiUOfUaig", + "focus": -0.22383854168296896, + "gap": 10 + }, + "endBinding": { + "elementId": "euPzFqcX7voWRUsc8TUd5", + "focus": 0.6346300014930119, + "gap": 10.75 + }, + "startArrowhead": null, + "endArrowhead": "triangle", + "elbowed": false + }, + { + "id": "kWm8e93TxoSkOjm1PKGBk", + "type": "text", + "x": 852.3302467840689, + "y": 485.5, + "width": 70.76667022705078, + "height": 27.500000000000007, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#d0bfff", + "fillStyle": "solid", + "strokeWidth": 2, + "strokeStyle": "solid", + "roughness": 0, + "opacity": 100, + "groupIds": [], + "frameId": null, + "index": "aQ", + "roundness": null, + "seed": 935149016, + "version": 200, + "versionNonce": 615172264, + "isDeleted": false, + "boundElements": [], + "updated": 1742819411659, + "link": null, + "locked": false, + "text": "Queries", + "fontSize": 20.370370370370374, + "fontFamily": 6, + "textAlign": "left", + "verticalAlign": "top", + "containerId": null, + "originalText": "Queries", + "autoResize": true, + "lineHeight": 1.35 + } + ], + "appState": { + "gridSize": 20, + "gridStep": 5, + "gridModeEnabled": false, + "viewBackgroundColor": "#ffffff" + }, + "files": {} +} \ No newline at end of file