From e2e1a50753194efa3af0e70c1d2eaa40fc49e292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tommy=20=C3=96man?= Date: Wed, 25 Jun 2025 09:46:34 +0200 Subject: [PATCH] Migrerat till net 9 --- NewReport1.upgrade.json | 1841 ++++++++++++++++++ StockDal.Interface/StockDal.Interface.csproj | 6 +- StockDal/StockDal.csproj | 12 +- StockDomain/StockDomain.csproj | 2 +- WpfStocks/WpfStocks.csproj | 6 +- 5 files changed, 1854 insertions(+), 13 deletions(-) create mode 100644 NewReport1.upgrade.json diff --git a/NewReport1.upgrade.json b/NewReport1.upgrade.json new file mode 100644 index 0000000..a8cbb04 --- /dev/null +++ b/NewReport1.upgrade.json @@ -0,0 +1,1841 @@ +{ + "settings": { + "components": { + "code": true, + "binaries": true + }, + "targetId": "", + "targetDisplayName": ".NET 9.0" + }, + "analysisStartTime": "2025-06-25T07:33:45.0083998Z", + "analysisEndTime": "2025-06-25T07:33:45.5086614Z", + "privacyModeHelpUrl": "https://go.microsoft.com/fwlink/?linkid=2270980", + "stats": { + "summary": { + "projects": 4, + "issues": 6, + "incidents": 66, + "effort": 66 + }, + "charts": { + "severity": { + "Mandatory": 23, + "Optional": 4, + "Potential": 39, + "Information": 0 + }, + "category": { + "Project": 4, + "NuGet": 7, + "Api": 55 + } + } + }, + "projects": [ + { + "path": "StockDal\\StockDal.csproj", + "startingProject": true, + "issues": 5, + "storyPoints": 23, + "ruleInstances": [ + { + "incidentId": "bec89b22-f033-487b-9d87-5e1b9d0d4040", + "ruleId": "NuGet.0002", + "projectPath": "StockDal\\StockDal.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "System.Configuration.ConfigurationManager, 5.0.0\n\nRecommendation:\n\nSystem.Configuration.ConfigurationManager 9.0.6", + "protected": "System.Configuration.ConfigurationManager, 5.0.0\n\nRecommendation:\n\nSystem.Configuration.ConfigurationManager 9.0.6" + }, + "kind": "File", + "path": "StockDal\\StockDal.csproj", + "snippet": "System.Configuration.ConfigurationManager, 5.0.0\n\nRecommendation:\n\nSystem.Configuration.ConfigurationManager 9.0.6", + "protectedSnippet": "System.Configuration.ConfigurationManager, 5.0.0\n\nRecommendation:\n\nSystem.Configuration.ConfigurationManager 9.0.6", + "label": "System.Configuration.ConfigurationManager 5.0.0", + "properties": { + "PackageId": "System.Configuration.ConfigurationManager", + "PackageVersion": "5.0.0", + "PackageNewVersion": "9.0.6", + "PackageReplacements": null + } + } + }, + { + "incidentId": "dab3aefd-9825-48e7-a366-2674c9c0ff7d", + "ruleId": "NuGet.0005", + "projectPath": "StockDal\\StockDal.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "System.Configuration.ConfigurationManager, 5.0.0\n\nRecommendation:\n\nThis package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217\nReplacement: System.Configuration.ConfigurationManager, 9.0.6", + "protected": "System.Configuration.ConfigurationManager, 5.0.0\n\nRecommendation:\n\nThis package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217\nReplacement: System.Configuration.ConfigurationManager, 9.0.6" + }, + "kind": "File", + "path": "StockDal\\StockDal.csproj", + "snippet": "System.Configuration.ConfigurationManager, 5.0.0\n\nRecommendation:\n\nThis package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217\nReplacement: System.Configuration.ConfigurationManager, 9.0.6", + "protectedSnippet": "System.Configuration.ConfigurationManager, 5.0.0\n\nRecommendation:\n\nThis package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217\nReplacement: System.Configuration.ConfigurationManager, 9.0.6", + "label": "System.Configuration.ConfigurationManager 5.0.0", + "properties": { + "PackageId": "System.Configuration.ConfigurationManager", + "PackageVersion": "5.0.0", + "PackageNewVersion": null, + "PackageReplacements": null + } + } + }, + { + "incidentId": "efe1ded3-cc54-465b-b1b9-617ffb3e1388", + "ruleId": "NuGet.0004", + "projectPath": "StockDal\\StockDal.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "System.Data.SqlClient, 4.8.2\n\nRecommendation:\n\nSystem.Data.SqlClient, 4.9.0", + "protected": "System.Data.SqlClient, 4.8.2\n\nRecommendation:\n\nSystem.Data.SqlClient, 4.9.0" + }, + "kind": "File", + "path": "StockDal\\StockDal.csproj", + "snippet": "System.Data.SqlClient, 4.8.2\n\nRecommendation:\n\nSystem.Data.SqlClient, 4.9.0", + "protectedSnippet": "System.Data.SqlClient, 4.8.2\n\nRecommendation:\n\nSystem.Data.SqlClient, 4.9.0", + "label": "System.Data.SqlClient 4.8.2", + "properties": { + "PackageId": "System.Data.SqlClient", + "PackageVersion": "4.8.2", + "PackageNewVersion": "4.9.0", + "PackageReplacements": null + } + } + }, + { + "incidentId": "04cb8786-07ab-4f66-9dda-c2ed94f319d9", + "ruleId": "Project.0002", + "projectPath": "StockDal\\StockDal.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "Current target framework: net5.0\nRecommended target framework: net9.0", + "protected": "Current target framework: net5.0\nRecommended target framework: net9.0" + }, + "kind": "File", + "path": "StockDal\\StockDal.csproj", + "snippet": "Current target framework: net5.0\nRecommended target framework: net9.0", + "protectedSnippet": "Current target framework: net5.0\nRecommended target framework: net9.0" + } + }, + { + "incidentId": "c1de88ae-36f4-4dd7-927e-d4f3c5ce4221", + "ruleId": "Api.0002", + "description": "API is available in package Newtonsoft.Json, 13.0.3.", + "projectPath": "StockDal\\StockDal.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "var output = JsonConvert.SerializeObject(DumpObjects, Formatting.Indented);", + "protected": "M:Newtonsoft.Json.JsonConvert.SerializeObject(System.Object,Newtonsoft.Json.Formatting)" + }, + "kind": "File", + "path": "StockDal\\StockMarketRepository.cs", + "snippet": "var output = JsonConvert.SerializeObject(DumpObjects, Formatting.Indented);", + "protectedSnippet": "M:Newtonsoft.Json.JsonConvert.SerializeObject(System.Object,Newtonsoft.Json.Formatting)", + "label": "M:Newtonsoft.Json.JsonConvert.SerializeObject(System.Object,Newtonsoft.Json.Formatting)", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/newtonsoft.json.jsonconvert.serializeobject", + "isCustom": false + } + ], + "line": 73, + "column": 12 + } + }, + { + "incidentId": "6cc7533a-fe67-4710-b659-71e7680069e1", + "ruleId": "Api.0002", + "description": "API is available in package System.Data.SqlClient, 4.8.6.", + "projectPath": "StockDal\\StockDal.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "using IDbConnection db = new SqlConnection(StockDBConnection.ConnectionString);", + "protected": "T:System.Data.SqlClient.SqlConnection" + }, + "kind": "File", + "path": "StockDal\\StockMemberRepository.cs", + "snippet": "using IDbConnection db = new SqlConnection(StockDBConnection.ConnectionString);", + "protectedSnippet": "T:System.Data.SqlClient.SqlConnection", + "label": "T:System.Data.SqlClient.SqlConnection", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.data.sqlclient.sqlconnection", + "isCustom": false + } + ], + "line": 85, + "column": 12 + } + }, + { + "incidentId": "bcf6fd02-d055-42bd-b85c-6fdeae2830ab", + "ruleId": "Api.0002", + "description": "API is available in package Newtonsoft.Json, 13.0.3.", + "projectPath": "StockDal\\StockDal.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "var output = JsonConvert.SerializeObject(DumpObjects, Formatting.Indented);", + "protected": "T:Newtonsoft.Json.JsonConvert" + }, + "kind": "File", + "path": "StockDal\\StockMarketRepository.cs", + "snippet": "var output = JsonConvert.SerializeObject(DumpObjects, Formatting.Indented);", + "protectedSnippet": "T:Newtonsoft.Json.JsonConvert", + "label": "T:Newtonsoft.Json.JsonConvert", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/newtonsoft.json.jsonconvert", + "isCustom": false + } + ], + "line": 73, + "column": 12 + } + }, + { + "incidentId": "72fd4bd1-39ce-4953-9192-c6d7139333e7", + "ruleId": "Api.0002", + "description": "API is available in package System.Configuration.ConfigurationManager, 9.0.0-preview.6.24302.3.", + "projectPath": "StockDal\\StockDal.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "ConfigurationManager.ConnectionStrings", + "protected": "T:System.Configuration.ConfigurationManager" + }, + "kind": "File", + "path": "StockDal\\AppConnection.cs", + "snippet": "ConfigurationManager.ConnectionStrings", + "protectedSnippet": "T:System.Configuration.ConfigurationManager", + "label": "T:System.Configuration.ConfigurationManager", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.configuration.configurationmanager", + "isCustom": false + } + ], + "line": 12, + "column": 49 + } + }, + { + "incidentId": "442b1047-87a3-47bf-9411-8b14c43ad214", + "ruleId": "Api.0002", + "description": "API is available in package System.Data.SqlClient, 4.8.6.", + "projectPath": "StockDal\\StockDal.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "using IDbConnection db = new SqlConnection(StockDBConnection.ConnectionString);", + "protected": "T:System.Data.SqlClient.SqlConnection" + }, + "kind": "File", + "path": "StockDal\\StockMemberRepository.cs", + "snippet": "using IDbConnection db = new SqlConnection(StockDBConnection.ConnectionString);", + "protectedSnippet": "T:System.Data.SqlClient.SqlConnection", + "label": "T:System.Data.SqlClient.SqlConnection", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.data.sqlclient.sqlconnection", + "isCustom": false + } + ], + "line": 65, + "column": 12 + } + }, + { + "incidentId": "1a41a199-4931-4173-adfd-4e6cb8fc8f25", + "ruleId": "Api.0002", + "description": "API is available in package Newtonsoft.Json, 13.0.3.", + "projectPath": "StockDal\\StockDal.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "var output = JsonConvert.SerializeObject(DumpObjects, Formatting.Indented);", + "protected": "F:Newtonsoft.Json.Formatting.Indented" + }, + "kind": "File", + "path": "StockDal\\StockMarketRepository.cs", + "snippet": "var output = JsonConvert.SerializeObject(DumpObjects, Formatting.Indented);", + "protectedSnippet": "F:Newtonsoft.Json.Formatting.Indented", + "label": "F:Newtonsoft.Json.Formatting.Indented", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/newtonsoft.json.formatting.indented", + "isCustom": false + } + ], + "line": 73, + "column": 12 + } + }, + { + "incidentId": "97d55bfb-2f66-424e-8c06-699caf38f9b5", + "ruleId": "Api.0002", + "description": "API is available in package Newtonsoft.Json, 13.0.3.", + "projectPath": "StockDal\\StockDal.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "var output = JsonConvert.SerializeObject(DumpObjects, Formatting.Indented);", + "protected": "T:Newtonsoft.Json.Formatting" + }, + "kind": "File", + "path": "StockDal\\StockMarketRepository.cs", + "snippet": "var output = JsonConvert.SerializeObject(DumpObjects, Formatting.Indented);", + "protectedSnippet": "T:Newtonsoft.Json.Formatting", + "label": "T:Newtonsoft.Json.Formatting", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/newtonsoft.json.formatting", + "isCustom": false + } + ], + "line": 73, + "column": 12 + } + }, + { + "incidentId": "a9628636-a4e9-4a9b-a588-d23a657689b8", + "ruleId": "Api.0002", + "description": "API is available in package System.Data.SqlClient, 4.8.6.", + "projectPath": "StockDal\\StockDal.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "using IDbConnection db = new SqlConnection(StockDBConnection.ConnectionString);", + "protected": "M:System.Data.SqlClient.SqlConnection.#ctor(System.String)" + }, + "kind": "File", + "path": "StockDal\\StockMemberRepository.cs", + "snippet": "using IDbConnection db = new SqlConnection(StockDBConnection.ConnectionString);", + "protectedSnippet": "M:System.Data.SqlClient.SqlConnection.#ctor(System.String)", + "label": "M:System.Data.SqlClient.SqlConnection.#ctor(System.String)", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.data.sqlclient.sqlconnection.sqlconnection", + "isCustom": false + } + ], + "line": 20, + "column": 12 + } + }, + { + "incidentId": "b4fed1a3-3b8c-43d2-9a14-0279f36f1e37", + "ruleId": "Api.0002", + "description": "API is available in package Newtonsoft.Json, 13.0.3.", + "projectPath": "StockDal\\StockDal.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "var output = JsonConvert.SerializeObject(DumpObjects, Formatting.Indented);", + "protected": "T:Newtonsoft.Json.Formatting" + }, + "kind": "File", + "path": "StockDal\\StockMarketRepository.cs", + "snippet": "var output = JsonConvert.SerializeObject(DumpObjects, Formatting.Indented);", + "protectedSnippet": "T:Newtonsoft.Json.Formatting", + "label": "T:Newtonsoft.Json.Formatting", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/newtonsoft.json.formatting", + "isCustom": false + } + ], + "line": 73, + "column": 12 + } + }, + { + "incidentId": "ec44ac89-96d9-4038-8397-6a346304ab2e", + "ruleId": "Api.0002", + "description": "API is available in package System.Configuration.ConfigurationManager, 9.0.0-preview.6.24302.3.", + "projectPath": "StockDal\\StockDal.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "ConfigurationManager.ConnectionStrings", + "protected": "P:System.Configuration.ConfigurationManager.ConnectionStrings" + }, + "kind": "File", + "path": "StockDal\\AppConnection.cs", + "snippet": "ConfigurationManager.ConnectionStrings", + "protectedSnippet": "P:System.Configuration.ConfigurationManager.ConnectionStrings", + "label": "P:System.Configuration.ConfigurationManager.ConnectionStrings", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.configuration.configurationmanager.connectionstrings", + "isCustom": false + } + ], + "line": 12, + "column": 49 + } + }, + { + "incidentId": "20e3f6d4-93c4-49c5-b99d-ae3176f1602b", + "ruleId": "Api.0002", + "description": "API is available in package System.Data.SqlClient, 4.8.6.", + "projectPath": "StockDal\\StockDal.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "using IDbConnection db = new SqlConnection(StockDBConnection.ConnectionString);", + "protected": "T:System.Data.SqlClient.SqlConnection" + }, + "kind": "File", + "path": "StockDal\\StockMemberRepository.cs", + "snippet": "using IDbConnection db = new SqlConnection(StockDBConnection.ConnectionString);", + "protectedSnippet": "T:System.Data.SqlClient.SqlConnection", + "label": "T:System.Data.SqlClient.SqlConnection", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.data.sqlclient.sqlconnection", + "isCustom": false + } + ], + "line": 20, + "column": 12 + } + }, + { + "incidentId": "4ff77c0b-a0f1-4ca6-b0ab-89c388e11c7d", + "ruleId": "Api.0002", + "description": "API is available in package System.Configuration.ConfigurationManager, 9.0.0-preview.6.24302.3.", + "projectPath": "StockDal\\StockDal.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "ConfigurationManager.ConnectionStrings", + "protected": "T:System.Configuration.ConnectionStringSettingsCollection" + }, + "kind": "File", + "path": "StockDal\\AppConnection.cs", + "snippet": "ConfigurationManager.ConnectionStrings", + "protectedSnippet": "T:System.Configuration.ConnectionStringSettingsCollection", + "label": "T:System.Configuration.ConnectionStringSettingsCollection", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.configuration.connectionstringsettingscollection", + "isCustom": false + } + ], + "line": 12, + "column": 49 + } + }, + { + "incidentId": "f65adcd1-7778-44b6-b819-6212c636bdfd", + "ruleId": "Api.0002", + "description": "API is available in package System.Data.SqlClient, 4.8.6.", + "projectPath": "StockDal\\StockDal.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "using IDbConnection db = new SqlConnection(StockDBConnection.ConnectionString);", + "protected": "M:System.Data.SqlClient.SqlConnection.#ctor(System.String)" + }, + "kind": "File", + "path": "StockDal\\StockMemberRepository.cs", + "snippet": "using IDbConnection db = new SqlConnection(StockDBConnection.ConnectionString);", + "protectedSnippet": "M:System.Data.SqlClient.SqlConnection.#ctor(System.String)", + "label": "M:System.Data.SqlClient.SqlConnection.#ctor(System.String)", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.data.sqlclient.sqlconnection.sqlconnection", + "isCustom": false + } + ], + "line": 51, + "column": 12 + } + }, + { + "incidentId": "de50064a-cc85-4622-95bf-4ee4b4d2f0f1", + "ruleId": "Api.0002", + "description": "API is available in package System.Configuration.ConfigurationManager, 9.0.0-preview.6.24302.3.", + "projectPath": "StockDal\\StockDal.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "ConfigurationManager.ConnectionStrings[\u0022StockDB\u0022]", + "protected": "T:System.Configuration.ConnectionStringSettings" + }, + "kind": "File", + "path": "StockDal\\AppConnection.cs", + "snippet": "ConfigurationManager.ConnectionStrings[\u0022StockDB\u0022]", + "protectedSnippet": "T:System.Configuration.ConnectionStringSettings", + "label": "T:System.Configuration.ConnectionStringSettings", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.configuration.connectionstringsettings", + "isCustom": false + } + ], + "line": 12, + "column": 49 + } + }, + { + "incidentId": "d4e792ad-9517-485f-bf8b-ab751b2d251d", + "ruleId": "Api.0002", + "description": "API is available in package System.Data.SqlClient, 4.8.6.", + "projectPath": "StockDal\\StockDal.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "using IDbConnection db = new SqlConnection(StockDBConnection.ConnectionString);", + "protected": "M:System.Data.SqlClient.SqlConnection.#ctor(System.String)" + }, + "kind": "File", + "path": "StockDal\\StockMemberRepository.cs", + "snippet": "using IDbConnection db = new SqlConnection(StockDBConnection.ConnectionString);", + "protectedSnippet": "M:System.Data.SqlClient.SqlConnection.#ctor(System.String)", + "label": "M:System.Data.SqlClient.SqlConnection.#ctor(System.String)", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.data.sqlclient.sqlconnection.sqlconnection", + "isCustom": false + } + ], + "line": 65, + "column": 12 + } + }, + { + "incidentId": "74945928-09d1-4524-a3ad-92f60392a344", + "ruleId": "Api.0002", + "description": "API is available in package System.Data.SqlClient, 4.8.6.", + "projectPath": "StockDal\\StockDal.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "using IDbConnection db = new SqlConnection(StockDBConnection.ConnectionString);", + "protected": "T:System.Data.SqlClient.SqlConnection" + }, + "kind": "File", + "path": "StockDal\\StockMemberRepository.cs", + "snippet": "using IDbConnection db = new SqlConnection(StockDBConnection.ConnectionString);", + "protectedSnippet": "T:System.Data.SqlClient.SqlConnection", + "label": "T:System.Data.SqlClient.SqlConnection", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.data.sqlclient.sqlconnection", + "isCustom": false + } + ], + "line": 51, + "column": 12 + } + }, + { + "incidentId": "1f267c2d-d51c-408e-a95a-12ddb2bc11c3", + "ruleId": "Api.0002", + "description": "API is available in package System.Configuration.ConfigurationManager, 9.0.0-preview.6.24302.3.", + "projectPath": "StockDal\\StockDal.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "ConfigurationManager.ConnectionStrings[\u0022StockDB\u0022]", + "protected": "P:System.Configuration.ConnectionStringSettingsCollection.Item(System.String)" + }, + "kind": "File", + "path": "StockDal\\AppConnection.cs", + "snippet": "ConfigurationManager.ConnectionStrings[\u0022StockDB\u0022]", + "protectedSnippet": "P:System.Configuration.ConnectionStringSettingsCollection.Item(System.String)", + "label": "P:System.Configuration.ConnectionStringSettingsCollection.Item(System.String)", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.configuration.connectionstringsettingscollection.this[string]", + "isCustom": false + } + ], + "line": 12, + "column": 49 + } + }, + { + "incidentId": "37f28828-c636-4f13-ac11-79f85b768483", + "ruleId": "Api.0002", + "description": "API is available in package System.Data.SqlClient, 4.8.6.", + "projectPath": "StockDal\\StockDal.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "using IDbConnection db = new SqlConnection(StockDBConnection.ConnectionString);", + "protected": "M:System.Data.SqlClient.SqlConnection.#ctor(System.String)" + }, + "kind": "File", + "path": "StockDal\\StockMemberRepository.cs", + "snippet": "using IDbConnection db = new SqlConnection(StockDBConnection.ConnectionString);", + "protectedSnippet": "M:System.Data.SqlClient.SqlConnection.#ctor(System.String)", + "label": "M:System.Data.SqlClient.SqlConnection.#ctor(System.String)", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.data.sqlclient.sqlconnection.sqlconnection", + "isCustom": false + } + ], + "line": 85, + "column": 12 + } + }, + { + "incidentId": "361f3911-9141-49aa-afb8-221cdc98d9c9", + "ruleId": "Api.0002", + "description": "API is available in package System.Configuration.ConfigurationManager, 9.0.0-preview.6.24302.3.", + "projectPath": "StockDal\\StockDal.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "ConfigurationManager.ConnectionStrings[\u0022StockDB\u0022].ConnectionString", + "protected": "P:System.Configuration.ConnectionStringSettings.ConnectionString" + }, + "kind": "File", + "path": "StockDal\\AppConnection.cs", + "snippet": "ConfigurationManager.ConnectionStrings[\u0022StockDB\u0022].ConnectionString", + "protectedSnippet": "P:System.Configuration.ConnectionStringSettings.ConnectionString", + "label": "P:System.Configuration.ConnectionStringSettings.ConnectionString", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.configuration.connectionstringsettings.connectionstring", + "isCustom": false + } + ], + "line": 12, + "column": 49 + } + } + ] + }, + { + "path": "StockDal.Interface\\StockDal.Interface.csproj", + "startingProject": true, + "issues": 1, + "storyPoints": 1, + "ruleInstances": [ + { + "incidentId": "27af665b-a64b-4f33-aea9-ac64d2d971b1", + "ruleId": "Project.0002", + "projectPath": "StockDal.Interface\\StockDal.Interface.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "Current target framework: net5.0\nRecommended target framework: net9.0", + "protected": "Current target framework: net5.0\nRecommended target framework: net9.0" + }, + "kind": "File", + "path": "StockDal.Interface\\StockDal.Interface.csproj", + "snippet": "Current target framework: net5.0\nRecommended target framework: net9.0", + "protectedSnippet": "Current target framework: net5.0\nRecommended target framework: net9.0" + } + } + ] + }, + { + "path": "StockDomain\\StockDomain.csproj", + "startingProject": true, + "issues": 1, + "storyPoints": 1, + "ruleInstances": [ + { + "incidentId": "d7398008-eb03-43ba-9dc1-b28330a99720", + "ruleId": "Project.0002", + "projectPath": "StockDomain\\StockDomain.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "Current target framework: net5.0\nRecommended target framework: net9.0", + "protected": "Current target framework: net5.0\nRecommended target framework: net9.0" + }, + "kind": "File", + "path": "StockDomain\\StockDomain.csproj", + "snippet": "Current target framework: net5.0\nRecommended target framework: net9.0", + "protectedSnippet": "Current target framework: net5.0\nRecommended target framework: net9.0" + } + } + ] + }, + { + "path": "WpfStocks\\WpfStocks.csproj", + "startingProject": true, + "issues": 5, + "storyPoints": 41, + "ruleInstances": [ + { + "incidentId": "80d2fde5-92a0-4c8c-9e7e-d9aab9dde6d7", + "ruleId": "NuGet.0002", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "Microsoft.EntityFrameworkCore.Sqlite, 5.0.3\n\nRecommendation:\n\nMicrosoft.EntityFrameworkCore.Sqlite 9.0.6", + "protected": "Microsoft.EntityFrameworkCore.Sqlite, 5.0.3\n\nRecommendation:\n\nMicrosoft.EntityFrameworkCore.Sqlite 9.0.6" + }, + "kind": "File", + "path": "WpfStocks\\WpfStocks.csproj", + "snippet": "Microsoft.EntityFrameworkCore.Sqlite, 5.0.3\n\nRecommendation:\n\nMicrosoft.EntityFrameworkCore.Sqlite 9.0.6", + "protectedSnippet": "Microsoft.EntityFrameworkCore.Sqlite, 5.0.3\n\nRecommendation:\n\nMicrosoft.EntityFrameworkCore.Sqlite 9.0.6", + "label": "Microsoft.EntityFrameworkCore.Sqlite 5.0.3", + "properties": { + "PackageId": "Microsoft.EntityFrameworkCore.Sqlite", + "PackageVersion": "5.0.3", + "PackageNewVersion": "9.0.6", + "PackageReplacements": null + } + } + }, + { + "incidentId": "bf32baa8-3d9a-4b63-be06-d904e110cef1", + "ruleId": "NuGet.0002", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "Microsoft.Extensions.DependencyInjection, 5.0.1\n\nRecommendation:\n\nMicrosoft.Extensions.DependencyInjection 9.0.6", + "protected": "Microsoft.Extensions.DependencyInjection, 5.0.1\n\nRecommendation:\n\nMicrosoft.Extensions.DependencyInjection 9.0.6" + }, + "kind": "File", + "path": "WpfStocks\\WpfStocks.csproj", + "snippet": "Microsoft.Extensions.DependencyInjection, 5.0.1\n\nRecommendation:\n\nMicrosoft.Extensions.DependencyInjection 9.0.6", + "protectedSnippet": "Microsoft.Extensions.DependencyInjection, 5.0.1\n\nRecommendation:\n\nMicrosoft.Extensions.DependencyInjection 9.0.6", + "label": "Microsoft.Extensions.DependencyInjection 5.0.1", + "properties": { + "PackageId": "Microsoft.Extensions.DependencyInjection", + "PackageVersion": "5.0.1", + "PackageNewVersion": "9.0.6", + "PackageReplacements": null + } + } + }, + { + "incidentId": "0b1775a0-d710-4761-a501-32c97de3def9", + "ruleId": "NuGet.0005", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "Microsoft.EntityFrameworkCore.Sqlite, 5.0.3\n\nRecommendation:\n\nThis package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217\nReplacement: Microsoft.EntityFrameworkCore.Sqlite, 9.0.6", + "protected": "Microsoft.EntityFrameworkCore.Sqlite, 5.0.3\n\nRecommendation:\n\nThis package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217\nReplacement: Microsoft.EntityFrameworkCore.Sqlite, 9.0.6" + }, + "kind": "File", + "path": "WpfStocks\\WpfStocks.csproj", + "snippet": "Microsoft.EntityFrameworkCore.Sqlite, 5.0.3\n\nRecommendation:\n\nThis package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217\nReplacement: Microsoft.EntityFrameworkCore.Sqlite, 9.0.6", + "protectedSnippet": "Microsoft.EntityFrameworkCore.Sqlite, 5.0.3\n\nRecommendation:\n\nThis package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217\nReplacement: Microsoft.EntityFrameworkCore.Sqlite, 9.0.6", + "label": "Microsoft.EntityFrameworkCore.Sqlite 5.0.3", + "properties": { + "PackageId": "Microsoft.EntityFrameworkCore.Sqlite", + "PackageVersion": "5.0.3", + "PackageNewVersion": null, + "PackageReplacements": null + } + } + }, + { + "incidentId": "1baa0f25-a306-4e2f-8e5c-a7c2f26cb59d", + "ruleId": "NuGet.0005", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "Microsoft.Extensions.DependencyInjection, 5.0.1\n\nRecommendation:\n\nThis package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217\nReplacement: Microsoft.Extensions.DependencyInjection, 9.0.6", + "protected": "Microsoft.Extensions.DependencyInjection, 5.0.1\n\nRecommendation:\n\nThis package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217\nReplacement: Microsoft.Extensions.DependencyInjection, 9.0.6" + }, + "kind": "File", + "path": "WpfStocks\\WpfStocks.csproj", + "snippet": "Microsoft.Extensions.DependencyInjection, 5.0.1\n\nRecommendation:\n\nThis package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217\nReplacement: Microsoft.Extensions.DependencyInjection, 9.0.6", + "protectedSnippet": "Microsoft.Extensions.DependencyInjection, 5.0.1\n\nRecommendation:\n\nThis package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217\nReplacement: Microsoft.Extensions.DependencyInjection, 9.0.6", + "label": "Microsoft.Extensions.DependencyInjection 5.0.1", + "properties": { + "PackageId": "Microsoft.Extensions.DependencyInjection", + "PackageVersion": "5.0.1", + "PackageNewVersion": null, + "PackageReplacements": null + } + } + }, + { + "incidentId": "f5122b55-fa80-438b-833b-c4184c70f9bd", + "ruleId": "Project.0002", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "Current target framework: netcoreapp3.1\nRecommended target framework: net9.0-windows", + "protected": "Current target framework: netcoreapp3.1\nRecommended target framework: net9.0-windows" + }, + "kind": "File", + "path": "WpfStocks\\WpfStocks.csproj", + "snippet": "Current target framework: netcoreapp3.1\nRecommended target framework: net9.0-windows", + "protectedSnippet": "Current target framework: netcoreapp3.1\nRecommended target framework: net9.0-windows" + } + }, + { + "incidentId": "5d51849b-2fe3-4081-9718-eab6a30b7a66", + "ruleId": "Api.0001", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "this.EmployeeDG = ((System.Windows.Controls.DataGrid)(target));", + "protected": "T:System.Windows.Controls.DataGrid" + }, + "kind": "File", + "path": "WpfStocks\\obj\\Debug\\netcoreapp3.1\\MainWindow.g.i.cs", + "snippet": "this.EmployeeDG = ((System.Windows.Controls.DataGrid)(target));", + "protectedSnippet": "T:System.Windows.Controls.DataGrid", + "label": "T:System.Windows.Controls.DataGrid", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.windows.controls.datagrid", + "isCustom": false + } + ], + "line": 82, + "column": 12 + } + }, + { + "incidentId": "d181b84a-a94a-48da-80fb-6675c16f8407", + "ruleId": "Api.0001", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "public MainWindow(EmployeeDbContext dbContext)\r\n {\r\n InitializeComponent();\r\n _dbContext = dbContext;\r\n GetEmployees();\r\n }", + "protected": "M:System.Windows.Window.#ctor" + }, + "kind": "File", + "path": "WpfStocks\\MainWindow.xaml.cs", + "snippet": "public MainWindow(EmployeeDbContext dbContext)\r\n {\r\n InitializeComponent();\r\n _dbContext = dbContext;\r\n GetEmployees();\r\n }", + "protectedSnippet": "M:System.Windows.Window.#ctor", + "label": "M:System.Windows.Window.#ctor", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.windows.window.window", + "isCustom": false + } + ], + "line": 25, + "column": 8 + } + }, + { + "incidentId": "dc53352a-6478-457d-9617-aeb4b439dfd3", + "ruleId": "Api.0001", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "Window", + "protected": "T:System.Windows.Window" + }, + "kind": "File", + "path": "WpfStocks\\MainWindow.xaml.cs", + "snippet": "Window", + "protectedSnippet": "T:System.Windows.Window", + "label": "T:System.Windows.Window", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.windows.window", + "isCustom": false + } + ], + "line": 21, + "column": 38 + } + }, + { + "incidentId": "53419390-14e2-4680-80de-6b7fceeee03b", + "ruleId": "Api.0001", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "EmployeeDG.ItemsSource = employees;", + "protected": "T:System.Windows.Controls.DataGrid" + }, + "kind": "File", + "path": "WpfStocks\\MainWindow.xaml.cs", + "snippet": "EmployeeDG.ItemsSource = employees;", + "protectedSnippet": "T:System.Windows.Controls.DataGrid", + "label": "T:System.Windows.Controls.DataGrid", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.windows.controls.datagrid", + "isCustom": false + } + ], + "line": 35, + "column": 12 + } + }, + { + "incidentId": "9c032e45-3573-470f-9c41-8e344ae5bbaa", + "ruleId": "Api.0001", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "IComponentConnector", + "protected": "T:System.Windows.Markup.IComponentConnector" + }, + "kind": "File", + "path": "WpfStocks\\obj\\Debug\\netcoreapp3.1\\MainWindow.g.i.cs", + "snippet": "IComponentConnector", + "protectedSnippet": "T:System.Windows.Markup.IComponentConnector", + "label": "T:System.Windows.Markup.IComponentConnector", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.windows.markup.icomponentconnector", + "isCustom": false + } + ], + "line": 41, + "column": 83 + } + }, + { + "incidentId": "c467c6ab-38e0-4723-9c2c-9ed852e7aea7", + "ruleId": "Api.0002", + "description": "API is available in package Microsoft.EntityFrameworkCore, 9.0.0-preview.6.24302.4.", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": ": base(options)", + "protected": "M:Microsoft.EntityFrameworkCore.DbContext.#ctor(Microsoft.EntityFrameworkCore.DbContextOptions)" + }, + "kind": "File", + "path": "WpfStocks\\Data\\EmployeeDbContext.cs", + "snippet": ": base(options)", + "protectedSnippet": "M:Microsoft.EntityFrameworkCore.DbContext.#ctor(Microsoft.EntityFrameworkCore.DbContextOptions)", + "label": "M:Microsoft.EntityFrameworkCore.DbContext.#ctor(Microsoft.EntityFrameworkCore.DbContextOptions)", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/microsoft.entityframeworkcore.dbcontext.dbcontext", + "isCustom": false + } + ], + "line": 12, + "column": 78 + } + }, + { + "incidentId": "bf1d2ea0-31c0-48d0-8126-6201650d220c", + "ruleId": "Api.0001", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "System.Windows.Application.LoadComponent(this, resourceLocater);", + "protected": "T:System.Windows.Application" + }, + "kind": "File", + "path": "WpfStocks\\obj\\Debug\\netcoreapp3.1\\MainWindow.g.i.cs", + "snippet": "System.Windows.Application.LoadComponent(this, resourceLocater);", + "protectedSnippet": "T:System.Windows.Application", + "label": "T:System.Windows.Application", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.windows.application", + "isCustom": false + } + ], + "line": 66, + "column": 12 + } + }, + { + "incidentId": "1e690f43-ef19-4580-84af-398332f36614", + "ruleId": "Api.0001", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "public MainWindow(EmployeeDbContext dbContext)\r\n {\r\n InitializeComponent();\r\n _dbContext = dbContext;\r\n GetEmployees();\r\n }", + "protected": "M:System.Windows.Window.#ctor" + }, + "kind": "File", + "path": "WpfStocks\\MainWindow.xaml.cs", + "snippet": "public MainWindow(EmployeeDbContext dbContext)\r\n {\r\n InitializeComponent();\r\n _dbContext = dbContext;\r\n GetEmployees();\r\n }", + "protectedSnippet": "M:System.Windows.Window.#ctor", + "label": "M:System.Windows.Window.#ctor", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.windows.window.window", + "isCustom": false + } + ], + "line": 25, + "column": 8 + } + }, + { + "incidentId": "88d9aa87-cea0-4292-960f-8b8f70eb46f6", + "ruleId": "Api.0001", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "EmployeeDG.ItemsSource = employees;", + "protected": "P:System.Windows.Controls.ItemsControl.ItemsSource" + }, + "kind": "File", + "path": "WpfStocks\\MainWindow.xaml.cs", + "snippet": "EmployeeDG.ItemsSource = employees;", + "protectedSnippet": "P:System.Windows.Controls.ItemsControl.ItemsSource", + "label": "P:System.Windows.Controls.ItemsControl.ItemsSource", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.windows.controls.itemscontrol.itemssource", + "isCustom": false + } + ], + "line": 35, + "column": 12 + } + }, + { + "incidentId": "1b81c89d-de07-4237-b16b-87aee944d5bd", + "ruleId": "Api.0001", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "app.Run();", + "protected": "M:System.Windows.Application.Run" + }, + "kind": "File", + "path": "WpfStocks\\obj\\Debug\\netcoreapp3.1\\App.g.i.cs", + "snippet": "app.Run();", + "protectedSnippet": "M:System.Windows.Application.Run", + "label": "M:System.Windows.Application.Run", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.windows.application.run", + "isCustom": false + } + ], + "line": 66, + "column": 12 + } + }, + { + "incidentId": "13967b10-a8e7-45d4-b1e3-18c7f3fcc79c", + "ruleId": "Api.0001", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "EmployeeDG", + "protected": "T:System.Windows.Controls.DataGrid" + }, + "kind": "File", + "path": "WpfStocks\\obj\\Debug\\netcoreapp3.1\\MainWindow.g.i.cs", + "snippet": "EmployeeDG", + "protectedSnippet": "T:System.Windows.Controls.DataGrid", + "label": "T:System.Windows.Controls.DataGrid", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.windows.controls.datagrid", + "isCustom": false + } + ], + "line": 46, + "column": 50 + } + }, + { + "incidentId": "9f97e4aa-bca6-441f-b7cd-6c4ea4f38749", + "ruleId": "Api.0001", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "System.Windows.Application.LoadComponent(this, resourceLocater);", + "protected": "M:System.Windows.Application.LoadComponent(System.Object,System.Uri)" + }, + "kind": "File", + "path": "WpfStocks\\obj\\Debug\\netcoreapp3.1\\MainWindow.g.i.cs", + "snippet": "System.Windows.Application.LoadComponent(this, resourceLocater);", + "protectedSnippet": "M:System.Windows.Application.LoadComponent(System.Object,System.Uri)", + "label": "M:System.Windows.Application.LoadComponent(System.Object,System.Uri)", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.windows.application.loadcomponent", + "isCustom": false + } + ], + "line": 66, + "column": 12 + } + }, + { + "incidentId": "cfdd53c6-c920-4932-8afc-cae8e97d371f", + "ruleId": "Api.0001", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "this.Startup \u002B= new System.Windows.StartupEventHandler(this.OnStartup);", + "protected": "T:System.Windows.StartupEventHandler" + }, + "kind": "File", + "path": "WpfStocks\\obj\\Debug\\netcoreapp3.1\\App.g.i.cs", + "snippet": "this.Startup \u002B= new System.Windows.StartupEventHandler(this.OnStartup);", + "protectedSnippet": "T:System.Windows.StartupEventHandler", + "label": "T:System.Windows.StartupEventHandler", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.windows.startupeventhandler", + "isCustom": false + } + ], + "line": 51, + "column": 12 + } + }, + { + "incidentId": "9884cb54-925a-491a-8b01-ce4aae5a5db2", + "ruleId": "Api.0001", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "Application", + "protected": "T:System.Windows.Application" + }, + "kind": "File", + "path": "WpfStocks\\App.xaml.cs", + "snippet": "Application", + "protectedSnippet": "T:System.Windows.Application", + "label": "T:System.Windows.Application", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.windows.application", + "isCustom": false + } + ], + "line": 16, + "column": 31 + } + }, + { + "incidentId": "e4492384-7fd2-457d-b540-39739a2034d9", + "ruleId": "Api.0001", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "public App()\r\n {\r\n ServiceCollection services = new ServiceCollection();\r\n ConfigureServices(services);\r\n serviceProvider = services.BuildServiceProvider();\r\n }", + "protected": "M:System.Windows.Application.#ctor" + }, + "kind": "File", + "path": "WpfStocks\\App.xaml.cs", + "snippet": "public App()\r\n {\r\n ServiceCollection services = new ServiceCollection();\r\n ConfigureServices(services);\r\n serviceProvider = services.BuildServiceProvider();\r\n }", + "protectedSnippet": "M:System.Windows.Application.#ctor", + "label": "M:System.Windows.Application.#ctor", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.windows.application.application", + "isCustom": false + } + ], + "line": 20, + "column": 8 + } + }, + { + "incidentId": "60d31eaf-645e-44ee-8ba0-b31bbd25152c", + "ruleId": "Api.0002", + "description": "API is available in package Microsoft.EntityFrameworkCore, 9.0.0-preview.6.24302.4.", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "Database.EnsureCreated();", + "protected": "T:Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade" + }, + "kind": "File", + "path": "WpfStocks\\Data\\EmployeeDbContext.cs", + "snippet": "Database.EnsureCreated();", + "protectedSnippet": "T:Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade", + "label": "T:Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/microsoft.entityframeworkcore.infrastructure.databasefacade", + "isCustom": false + } + ], + "line": 14, + "column": 12 + } + }, + { + "incidentId": "765c35d9-8f8a-4cd5-91b5-29091e2ff7c0", + "ruleId": "Api.0001", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "public App()\r\n {\r\n ServiceCollection services = new ServiceCollection();\r\n ConfigureServices(services);\r\n serviceProvider = services.BuildServiceProvider();\r\n }", + "protected": "M:System.Windows.Application.#ctor" + }, + "kind": "File", + "path": "WpfStocks\\App.xaml.cs", + "snippet": "public App()\r\n {\r\n ServiceCollection services = new ServiceCollection();\r\n ConfigureServices(services);\r\n serviceProvider = services.BuildServiceProvider();\r\n }", + "protectedSnippet": "M:System.Windows.Application.#ctor", + "label": "M:System.Windows.Application.#ctor", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.windows.application.application", + "isCustom": false + } + ], + "line": 20, + "column": 8 + } + }, + { + "incidentId": "8e2c3d89-46c8-4d55-a516-47995bdd85e2", + "ruleId": "Api.0002", + "description": "API is available in package Microsoft.EntityFrameworkCore, 9.0.0-preview.6.24302.4.", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "services.AddDbContext\u003CEmployeeDbContext\u003E(options =\u003E\r\n {\r\n options.UseSqlite(\u0022Data Source = Employee.db\u0022);\r\n });", + "protected": "M:Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.AddDbContext\u0060\u00601(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Action{Microsoft.EntityFrameworkCore.DbContextOptionsBuilder},Microsoft.Extensions.DependencyInjection.ServiceLifetime,Microsoft.Extensions.DependencyInjection.ServiceLifetime)" + }, + "kind": "File", + "path": "WpfStocks\\App.xaml.cs", + "snippet": "services.AddDbContext\u003CEmployeeDbContext\u003E(options =\u003E\r\n {\r\n options.UseSqlite(\u0022Data Source = Employee.db\u0022);\r\n });", + "protectedSnippet": "M:Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.AddDbContext\u0060\u00601(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Action{Microsoft.EntityFrameworkCore.DbContextOptionsBuilder},Microsoft.Extensions.DependencyInjection.ServiceLifetime,Microsoft.Extensions.DependencyInjection.ServiceLifetime)", + "label": "M:Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.AddDbContext\u0060\u00601(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Action{Microsoft.EntityFrameworkCore.DbContextOptionsBuilder},Microsoft.Extensions.DependencyInjection.ServiceLifetime,Microsoft.Extensions.DependencyInjection.ServiceLifetime)", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/microsoft.extensions.dependencyinjection.entityframeworkservicecollectionextensions.adddbcontext", + "isCustom": false + } + ], + "line": 29, + "column": 12 + } + }, + { + "incidentId": "95918a32-c590-4da4-99b5-b3f6ffdd2597", + "ruleId": "Api.0002", + "description": "API is available in package Microsoft.EntityFrameworkCore, 9.0.0-preview.6.24302.4.", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "services.AddDbContext\u003CEmployeeDbContext\u003E(options =\u003E\r\n {\r\n options.UseSqlite(\u0022Data Source = Employee.db\u0022);\r\n });", + "protected": "T:Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions" + }, + "kind": "File", + "path": "WpfStocks\\App.xaml.cs", + "snippet": "services.AddDbContext\u003CEmployeeDbContext\u003E(options =\u003E\r\n {\r\n options.UseSqlite(\u0022Data Source = Employee.db\u0022);\r\n });", + "protectedSnippet": "T:Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions", + "label": "T:Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/microsoft.extensions.dependencyinjection.entityframeworkservicecollectionextensions", + "isCustom": false + } + ], + "line": 29, + "column": 12 + } + }, + { + "incidentId": "b82a544e-124f-401c-9b7b-8e7d9c803fd8", + "ruleId": "Api.0002", + "description": "API is available in package Microsoft.EntityFrameworkCore, 9.0.0-preview.6.24302.4.", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": ": base(options)", + "protected": "M:Microsoft.EntityFrameworkCore.DbContext.#ctor(Microsoft.EntityFrameworkCore.DbContextOptions)" + }, + "kind": "File", + "path": "WpfStocks\\Data\\EmployeeDbContext.cs", + "snippet": ": base(options)", + "protectedSnippet": "M:Microsoft.EntityFrameworkCore.DbContext.#ctor(Microsoft.EntityFrameworkCore.DbContextOptions)", + "label": "M:Microsoft.EntityFrameworkCore.DbContext.#ctor(Microsoft.EntityFrameworkCore.DbContextOptions)", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/microsoft.entityframeworkcore.dbcontext.dbcontext", + "isCustom": false + } + ], + "line": 12, + "column": 78 + } + }, + { + "incidentId": "3f32fd42-543e-445c-8529-4a27879c7719", + "ruleId": "Api.0002", + "description": "API is available in package Microsoft.EntityFrameworkCore.Sqlite.Core, 9.0.0-preview.6.24302.4.", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "options.UseSqlite(\u0022Data Source = Employee.db\u0022);", + "protected": "M:Microsoft.EntityFrameworkCore.SqliteDbContextOptionsBuilderExtensions.UseSqlite(Microsoft.EntityFrameworkCore.DbContextOptionsBuilder,System.String,System.Action{Microsoft.EntityFrameworkCore.Infrastructure.SqliteDbContextOptionsBuilder})" + }, + "kind": "File", + "path": "WpfStocks\\App.xaml.cs", + "snippet": "options.UseSqlite(\u0022Data Source = Employee.db\u0022);", + "protectedSnippet": "M:Microsoft.EntityFrameworkCore.SqliteDbContextOptionsBuilderExtensions.UseSqlite(Microsoft.EntityFrameworkCore.DbContextOptionsBuilder,System.String,System.Action{Microsoft.EntityFrameworkCore.Infrastructure.SqliteDbContextOptionsBuilder})", + "label": "M:Microsoft.EntityFrameworkCore.SqliteDbContextOptionsBuilderExtensions.UseSqlite(Microsoft.EntityFrameworkCore.DbContextOptionsBuilder,System.String,System.Action{Microsoft.EntityFrameworkCore.Infrastructure.SqliteDbContextOptionsBuilder})", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/microsoft.entityframeworkcore.sqlitedbcontextoptionsbuilderextensions.usesqlite", + "isCustom": false + } + ], + "line": 31, + "column": 16 + } + }, + { + "incidentId": "714c817b-386b-4ca1-90ea-f3a1a30e6693", + "ruleId": "Api.0002", + "description": "API is available in package Microsoft.EntityFrameworkCore, 9.0.0-preview.6.24302.4.", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "options.UseSqlite(\u0022Data Source = Employee.db\u0022);", + "protected": "T:Microsoft.EntityFrameworkCore.DbContextOptionsBuilder" + }, + "kind": "File", + "path": "WpfStocks\\App.xaml.cs", + "snippet": "options.UseSqlite(\u0022Data Source = Employee.db\u0022);", + "protectedSnippet": "T:Microsoft.EntityFrameworkCore.DbContextOptionsBuilder", + "label": "T:Microsoft.EntityFrameworkCore.DbContextOptionsBuilder", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/microsoft.entityframeworkcore.dbcontextoptionsbuilder", + "isCustom": false + } + ], + "line": 31, + "column": 16 + } + }, + { + "incidentId": "f6ae58d0-276b-4159-a615-c2fbb43d9ea5", + "ruleId": "Api.0002", + "description": "API is available in package Microsoft.EntityFrameworkCore.Sqlite.Core, 9.0.0-preview.6.24302.4.", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "options.UseSqlite(\u0022Data Source = Employee.db\u0022);", + "protected": "T:Microsoft.EntityFrameworkCore.SqliteDbContextOptionsBuilderExtensions" + }, + "kind": "File", + "path": "WpfStocks\\App.xaml.cs", + "snippet": "options.UseSqlite(\u0022Data Source = Employee.db\u0022);", + "protectedSnippet": "T:Microsoft.EntityFrameworkCore.SqliteDbContextOptionsBuilderExtensions", + "label": "T:Microsoft.EntityFrameworkCore.SqliteDbContextOptionsBuilderExtensions", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/microsoft.entityframeworkcore.sqlitedbcontextoptionsbuilderextensions", + "isCustom": false + } + ], + "line": 31, + "column": 16 + } + }, + { + "incidentId": "7c369459-014f-40cc-b8c5-775711f372fb", + "ruleId": "Api.0001", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "this.Startup \u002B= new System.Windows.StartupEventHandler(this.OnStartup);", + "protected": "E:System.Windows.Application.Startup" + }, + "kind": "File", + "path": "WpfStocks\\obj\\Debug\\netcoreapp3.1\\App.g.i.cs", + "snippet": "this.Startup \u002B= new System.Windows.StartupEventHandler(this.OnStartup);", + "protectedSnippet": "E:System.Windows.Application.Startup", + "label": "E:System.Windows.Application.Startup", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.windows.application.startup", + "isCustom": false + } + ], + "line": 51, + "column": 12 + } + }, + { + "incidentId": "b7815386-dd50-484c-af61-899524ef3872", + "ruleId": "Api.0001", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "mainWindow.Show();", + "protected": "M:System.Windows.Window.Show" + }, + "kind": "File", + "path": "WpfStocks\\App.xaml.cs", + "snippet": "mainWindow.Show();", + "protectedSnippet": "M:System.Windows.Window.Show", + "label": "M:System.Windows.Window.Show", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.windows.window.show", + "isCustom": false + } + ], + "line": 40, + "column": 12 + } + }, + { + "incidentId": "2117618d-f76a-4452-ae73-8bfad7752f92", + "ruleId": "Api.0001", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "private void OnStartup(object sender , StartupEventArgs e)", + "protected": "T:System.Windows.StartupEventArgs" + }, + "kind": "File", + "path": "WpfStocks\\App.xaml.cs", + "snippet": "private void OnStartup(object sender , StartupEventArgs e)", + "protectedSnippet": "T:System.Windows.StartupEventArgs", + "label": "T:System.Windows.StartupEventArgs", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.windows.startupeventargs", + "isCustom": false + } + ], + "line": 37, + "column": 8 + } + }, + { + "incidentId": "7718d5b1-77e9-422d-b8ba-e7eefacccc10", + "ruleId": "Api.0001", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "this.Startup \u002B= new System.Windows.StartupEventHandler(this.OnStartup);", + "protected": "T:System.Windows.StartupEventHandler" + }, + "kind": "File", + "path": "WpfStocks\\obj\\Debug\\netcoreapp3.1\\App.g.i.cs", + "snippet": "this.Startup \u002B= new System.Windows.StartupEventHandler(this.OnStartup);", + "protectedSnippet": "T:System.Windows.StartupEventHandler", + "label": "T:System.Windows.StartupEventHandler", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/system.windows.startupeventhandler", + "isCustom": false + } + ], + "line": 51, + "column": 12 + } + }, + { + "incidentId": "e607dda3-9af6-4304-91c2-7370e3e94a35", + "ruleId": "Api.0002", + "description": "API is available in package Microsoft.EntityFrameworkCore, 9.0.0-preview.6.24302.4.", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "DbContext", + "protected": "T:Microsoft.EntityFrameworkCore.DbContext" + }, + "kind": "File", + "path": "WpfStocks\\Data\\EmployeeDbContext.cs", + "snippet": "DbContext", + "protectedSnippet": "T:Microsoft.EntityFrameworkCore.DbContext", + "label": "T:Microsoft.EntityFrameworkCore.DbContext", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/microsoft.entityframeworkcore.dbcontext", + "isCustom": false + } + ], + "line": 9, + "column": 37 + } + }, + { + "incidentId": "cbf905cd-849d-46aa-86a0-9558a13ca696", + "ruleId": "Api.0002", + "description": "API is available in package Microsoft.EntityFrameworkCore, 9.0.0-preview.6.24302.4.", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "Database.EnsureCreated();", + "protected": "M:Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade.EnsureCreated" + }, + "kind": "File", + "path": "WpfStocks\\Data\\EmployeeDbContext.cs", + "snippet": "Database.EnsureCreated();", + "protectedSnippet": "M:Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade.EnsureCreated", + "label": "M:Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade.EnsureCreated", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/microsoft.entityframeworkcore.infrastructure.databasefacade.ensurecreated", + "isCustom": false + } + ], + "line": 14, + "column": 12 + } + }, + { + "incidentId": "d4553c4d-89d6-48bc-858e-b63c7ee6b63f", + "ruleId": "Api.0002", + "description": "API is available in package Microsoft.EntityFrameworkCore, 9.0.0-preview.6.24302.4.", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "protected override void OnModelCreating(ModelBuilder modelBuilder)", + "protected": "T:Microsoft.EntityFrameworkCore.ModelBuilder" + }, + "kind": "File", + "path": "WpfStocks\\Data\\EmployeeDbContext.cs", + "snippet": "protected override void OnModelCreating(ModelBuilder modelBuilder)", + "protectedSnippet": "T:Microsoft.EntityFrameworkCore.ModelBuilder", + "label": "T:Microsoft.EntityFrameworkCore.ModelBuilder", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/microsoft.entityframeworkcore.modelbuilder", + "isCustom": false + } + ], + "line": 23, + "column": 8 + } + }, + { + "incidentId": "7739407c-d701-4dfe-8558-73a032e04c27", + "ruleId": "Api.0002", + "description": "API is available in package Microsoft.EntityFrameworkCore, 9.0.0-preview.6.24302.4.", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "Database.EnsureCreated();", + "protected": "P:Microsoft.EntityFrameworkCore.DbContext.Database" + }, + "kind": "File", + "path": "WpfStocks\\Data\\EmployeeDbContext.cs", + "snippet": "Database.EnsureCreated();", + "protectedSnippet": "P:Microsoft.EntityFrameworkCore.DbContext.Database", + "label": "P:Microsoft.EntityFrameworkCore.DbContext.Database", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/microsoft.entityframeworkcore.dbcontext.database", + "isCustom": false + } + ], + "line": 14, + "column": 12 + } + }, + { + "incidentId": "684b42f7-c0f8-446b-8b88-e4a86357b2e6", + "ruleId": "Api.0002", + "description": "API is available in package Microsoft.EntityFrameworkCore, 9.0.0-preview.6.24302.4.", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "Database.EnsureCreated();", + "protected": "M:Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade.EnsureCreated" + }, + "kind": "File", + "path": "WpfStocks\\Data\\EmployeeDbContext.cs", + "snippet": "Database.EnsureCreated();", + "protectedSnippet": "M:Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade.EnsureCreated", + "label": "M:Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade.EnsureCreated", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/microsoft.entityframeworkcore.infrastructure.databasefacade.ensurecreated", + "isCustom": false + } + ], + "line": 14, + "column": 12 + } + }, + { + "incidentId": "480f5039-c2c6-4c43-b2d2-63c2e68fd5a6", + "ruleId": "Api.0002", + "description": "API is available in package Microsoft.EntityFrameworkCore, 9.0.0-preview.6.24302.4.", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "modelBuilder.Entity\u003CEmployee\u003E().HasData(GetEmployees());", + "protected": "M:Microsoft.EntityFrameworkCore.ModelBuilder.Entity\u0060\u00601" + }, + "kind": "File", + "path": "WpfStocks\\Data\\EmployeeDbContext.cs", + "snippet": "modelBuilder.Entity\u003CEmployee\u003E().HasData(GetEmployees());", + "protectedSnippet": "M:Microsoft.EntityFrameworkCore.ModelBuilder.Entity\u0060\u00601", + "label": "M:Microsoft.EntityFrameworkCore.ModelBuilder.Entity\u0060\u00601", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/microsoft.entityframeworkcore.modelbuilder.entity", + "isCustom": false + } + ], + "line": 25, + "column": 12 + } + }, + { + "incidentId": "2127ef2b-07df-4930-a175-d1ae9f52a67e", + "ruleId": "Api.0002", + "description": "API is available in package Microsoft.EntityFrameworkCore, 9.0.0-preview.6.24302.4.", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "Database.EnsureCreated();", + "protected": "P:Microsoft.EntityFrameworkCore.DbContext.Database" + }, + "kind": "File", + "path": "WpfStocks\\Data\\EmployeeDbContext.cs", + "snippet": "Database.EnsureCreated();", + "protectedSnippet": "P:Microsoft.EntityFrameworkCore.DbContext.Database", + "label": "P:Microsoft.EntityFrameworkCore.DbContext.Database", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/microsoft.entityframeworkcore.dbcontext.database", + "isCustom": false + } + ], + "line": 14, + "column": 12 + } + }, + { + "incidentId": "6598a76e-05fc-4bd3-a809-4c1ce7bff61f", + "ruleId": "Api.0002", + "description": "API is available in package Microsoft.EntityFrameworkCore, 9.0.0-preview.6.24302.4.", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "Database.EnsureCreated();", + "protected": "T:Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade" + }, + "kind": "File", + "path": "WpfStocks\\Data\\EmployeeDbContext.cs", + "snippet": "Database.EnsureCreated();", + "protectedSnippet": "T:Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade", + "label": "T:Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/microsoft.entityframeworkcore.infrastructure.databasefacade", + "isCustom": false + } + ], + "line": 14, + "column": 12 + } + }, + { + "incidentId": "b807cef8-f81f-4277-aaba-1d812dbea7a7", + "ruleId": "Api.0002", + "description": "API is available in package Microsoft.EntityFrameworkCore, 9.0.0-preview.6.24302.4.", + "projectPath": "WpfStocks\\WpfStocks.csproj", + "state": "Active", + "location": { + "snippetModel": { + "unrestricted": "base.OnModelCreating(modelBuilder);", + "protected": "M:Microsoft.EntityFrameworkCore.DbContext.OnModelCreating(Microsoft.EntityFrameworkCore.ModelBuilder)" + }, + "kind": "File", + "path": "WpfStocks\\Data\\EmployeeDbContext.cs", + "snippet": "base.OnModelCreating(modelBuilder);", + "protectedSnippet": "M:Microsoft.EntityFrameworkCore.DbContext.OnModelCreating(Microsoft.EntityFrameworkCore.ModelBuilder)", + "label": "M:Microsoft.EntityFrameworkCore.DbContext.OnModelCreating(Microsoft.EntityFrameworkCore.ModelBuilder)", + "links": [ + { + "title": "API documentation", + "url": "https://learn.microsoft.com/dotnet/api/microsoft.entityframeworkcore.dbcontext.onmodelcreating", + "isCustom": false + } + ], + "line": 26, + "column": 12 + } + } + ] + } + ], + "rules": { + "Project.0002": { + "id": "Project.0002", + "description": "Project\u0027s target framework(s) needs to be changed to the new target framework that you selected for this upgrade.\n\nDuring upgrade target framework will be adjusted to corresponding platform when applicable. In some cases project would result in multiple target frameworks after the upgrade if it was using features that now have their own platforms in modern .NET frameworks (windows, iOS, Android etc).", + "label": "Project\u0027s target framework(s) needs to be changed", + "severity": "Mandatory", + "effort": 1, + "links": [ + { + "title": "Overview of porting from .NET Framework to .NET", + "url": "https://go.microsoft.com/fwlink/?linkid=2265227", + "isCustom": false + }, + { + "title": ".NET project SDKs", + "url": "https://go.microsoft.com/fwlink/?linkid=2265226", + "isCustom": false + } + ] + }, + "NuGet.0002": { + "id": "NuGet.0002", + "description": "NuGet package upgrade is recommended for selected target framework.\n\nStandard .NET packages are recommended to have versions matching version of .NET that project targets.\n\nSome other packages also are known to work better for selected target frameworks.", + "label": "NuGet package upgrade is recommended", + "severity": "Potential", + "effort": 1, + "links": [ + { + "url": "https://go.microsoft.com/fwlink/?linkid=2262530", + "isCustom": false + } + ] + }, + "NuGet.0005": { + "id": "NuGet.0005", + "description": "NuGet package is deprecated.\n\nGo to its documentation and if there is a guidance for replacement of functionality provided by this package.", + "label": "NuGet package is deprecated", + "severity": "Optional", + "effort": 1, + "links": [ + { + "url": "https://go.microsoft.com/fwlink/?linkid=2262531", + "isCustom": false + } + ] + }, + "NuGet.0004": { + "id": "NuGet.0004", + "description": "NuGet package contains security vulnerabilities.\n\nPackage needs to be upgraded to a newer version that addresses known security vulnerabilities.", + "label": "NuGet package contains security vulnerability", + "severity": "Optional", + "effort": 1 + }, + "Api.0002": { + "id": "Api.0002", + "description": "Some API that lived in older versions of .NET frameworks were moved to standalone NuGet packages that could be added to projects explicitly.", + "label": "API available in NuGet package", + "severity": "Potential", + "effort": 1, + "links": [ + { + "title": "Breaking changes in .NET", + "url": "https://go.microsoft.com/fwlink/?linkid=2262679", + "isCustom": false + } + ] + }, + "Api.0001": { + "id": "Api.0001", + "description": "API does not exist in the selected version of .NET. See breaking changes documentation for alternative or replacement functionality.", + "label": "API does not exist", + "severity": "Mandatory", + "effort": 1, + "links": [ + { + "title": "Breaking changes in .NET", + "url": "https://go.microsoft.com/fwlink/?linkid=2262679", + "isCustom": false + } + ] + } + } +} \ No newline at end of file diff --git a/StockDal.Interface/StockDal.Interface.csproj b/StockDal.Interface/StockDal.Interface.csproj index 55af59e..320d317 100644 --- a/StockDal.Interface/StockDal.Interface.csproj +++ b/StockDal.Interface/StockDal.Interface.csproj @@ -1,12 +1,12 @@ - net5.0 + net9.0 - - + + diff --git a/StockDal/StockDal.csproj b/StockDal/StockDal.csproj index f6a1392..7708915 100644 --- a/StockDal/StockDal.csproj +++ b/StockDal/StockDal.csproj @@ -1,15 +1,15 @@ - net5.0 + net9.0 - - - - - + + + + + diff --git a/StockDomain/StockDomain.csproj b/StockDomain/StockDomain.csproj index f208d30..1f059d7 100644 --- a/StockDomain/StockDomain.csproj +++ b/StockDomain/StockDomain.csproj @@ -1,7 +1,7 @@ - net5.0 + net9.0 diff --git a/WpfStocks/WpfStocks.csproj b/WpfStocks/WpfStocks.csproj index bfb3806..fd5007e 100644 --- a/WpfStocks/WpfStocks.csproj +++ b/WpfStocks/WpfStocks.csproj @@ -2,13 +2,13 @@ WinExe - netcoreapp3.1 + net9.0-windows true - - + +