EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
14084 matches across 16 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | test/EFCore.Specification.Tests/JsonTypesTestBase.cs | 0 | {"prop":"https://user:password@www.contoso.com:80/home/index.htm?q1=v1\u0026q2=v2#fragmentname"} |
| HIGH | test/EFCore.Specification.Tests/JsonTypesTestBase.cs | 0 | {"prop":"https://user:password@www.contoso.com:80/home/index.htm?q1=v1\u0026q2=v2#fragmentname"} |
| HIGH | test/EFCore.Specification.Tests/JsonTypesTestBase.cs | 0 | {"prop":"https://user:password@www.contoso.com:80/home/index.htm?q1=v1\u0026q2=v2#fragmentname"} |
| HIGH | test/EFCore.Specification.Tests/JsonTypesTestBase.cs | 0 | {"prop":[["00000000-0000-0000-0000-000000000000","8c44242f-8e3f-4a20-8be8-98c7c1aadebd"],[],["ffffffff-ffff-ffff-ffff-ff |
| HIGH | test/EFCore.Specification.Tests/JsonTypesTestBase.cs | 0 | {"prop":[["00000000-0000-0000-0000-000000000000","8c44242f-8e3f-4a20-8be8-98c7c1aadebd"],[],["ffffffff-ffff-ffff-ffff-ff |
| HIGH | …t/EFCore.Sqlite.FunctionalTests/JsonTypesSqliteTest.cs | 0 | {"prop":[["00000000-0000-0000-0000-000000000000","8c44242f-8e3f-4a20-8be8-98c7c1aadebd"],[],["ffffffff-ffff-ffff-ffff-ff |
| HIGH | …t/EFCore.Sqlite.FunctionalTests/JsonTypesSqliteTest.cs | 0 | {"prop":[["00000000-0000-0000-0000-000000000000","8c44242f-8e3f-4a20-8be8-98c7c1aadebd"],[],["ffffffff-ffff-ffff-ffff-ff |
| HIGH | …e.Sqlite.FunctionalTests/CustomConvertersSqliteTest.cs | 0 | select "b"."blogid", "b"."discriminator", "b"."indexervisible", "b"."isvisible", "b"."url", "b"."rssurl" from "blog" as |
| HIGH | …e.Sqlite.FunctionalTests/CustomConvertersSqliteTest.cs | 0 | select "b"."blogid", "b"."discriminator", "b"."indexervisible", "b"."isvisible", "b"."url", "b"."rssurl" from "blog" as |
| HIGH | …e.Sqlite.FunctionalTests/CustomConvertersSqliteTest.cs | 0 | select "b"."blogid", "b"."discriminator", "b"."indexervisible", "b"."isvisible", "b"."url", "b"."rssurl" from "blog" as |
| HIGH | …Tests/Migrations/MigrationsInfrastructureSqliteTest.cs | 0 | create table if not exists "__efmigrationshistory" ( "migrationid" text not null constraint "pk___efmigrationshistory" p |
| HIGH | …Tests/Migrations/MigrationsInfrastructureSqliteTest.cs | 0 | create table if not exists "__efmigrationshistory" ( "migrationid" text not null constraint "pk___efmigrationshistory" p |
| HIGH | …Sqlite.Tests/Migrations/SqliteHistoryRepositoryTest.cs | 0 | create table if not exists "__efmigrationshistory" ( "migrationid" text not null constraint "pk___efmigrationshistory" p |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | insert into "ef_temp_people" ("id") select "id" from "people"; |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | insert into "ef_temp_people" ("id") select "id" from "people"; |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | insert into "ef_temp_people" ("id") select "id" from "people"; |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | insert into "ef_temp_people" ("id") select "id" from "people"; |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | insert into "ef_temp_people" ("id") select "id" from "people"; |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | insert into "ef_temp_people" ("id") select "id" from "people"; |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | insert into "ef_temp_people" ("id") select "id" from "people"; |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | insert into "ef_temp_people" ("id") select "id" from "people"; |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | insert into "ef_temp_people" ("id") select "id" from "people"; |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | create table "ef_temp_people" ( "id" integer not null constraint "pk_people" primary key autoincrement ); |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | create table "ef_temp_people" ( "id" integer not null constraint "pk_people" primary key autoincrement ); |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | create table "ef_temp_people" ( "id" integer not null constraint "pk_people" primary key autoincrement ); |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | insert into "ef_temp_people" ("id", "driverlicense") select "id", "driverlicense" from "people"; |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | insert into "ef_temp_people" ("id", "driverlicense") select "id", "driverlicense" from "people"; |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | insert into "ef_temp_people" ("id", "driverlicense") select "id", "driverlicense" from "people"; |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | insert into "ef_temp_people" ("id", "driverlicense") select "id", "driverlicense" from "people"; |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | insert into "ef_temp_people" ("id", "x", "y") select "id", "x", "y" from "people"; |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | insert into "ef_temp_people" ("id", "x", "y") select "id", "x", "y" from "people"; |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | insert into "ef_temp_people" ("id", "x", "y") select "id", "x", "y" from "people"; |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | insert into "ef_temp_people" ("id", "x", "y") select "id", "x", "y" from "people"; |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | insert into "ef_temp_people" ("somefield") select "somefield" from "people"; |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | insert into "ef_temp_people" ("somefield") select "somefield" from "people"; |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | insert into "ef_temp_people" ("somefield") select "somefield" from "people"; |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | insert into "ef_temp_people" ("somefield") select "somefield" from "people"; |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | create index "ix_orders_customerid" on "orders" ("customerid"); |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | create index "ix_orders_customerid" on "orders" ("customerid"); |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | create index "ix_orders_customerid" on "orders" ("customerid"); |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | create index "ix_orders_customerid" on "orders" ("customerid"); |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | create index "ix_orders_customerid" on "orders" ("customerid"); |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | insert into "ef_temp_orders" ("id", "customerid") select "id", "customerid" from "orders"; |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | insert into "ef_temp_orders" ("id", "customerid") select "id", "customerid" from "orders"; |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | insert into "ef_temp_orders" ("id", "customerid") select "id", "customerid" from "orders"; |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | alter table [customers] add [numbers] nvarchar(max) not null default n'nothing'; |
| HIGH | …ite.FunctionalTests/Migrations/MigrationsSqliteTest.cs | 0 | alter table [customers] add [numbers] nvarchar(max) not null default n'nothing'; |
| HIGH | ….FunctionalTests/Migrations/MigrationsSqlServerTest.cs | 0 | alter table [customers] add [numbers] nvarchar(max) not null default n'nothing'; |
| HIGH | ….FunctionalTests/Migrations/MigrationsSqlServerTest.cs | 0 | alter table [customers] add [numbers] nvarchar(max) not null default n'nothing'; |
| HIGH | ….Sqlite.FunctionalTests/Update/JsonUpdateSqliteTest.cs | 0 | select "j"."id", "j"."entitybasicid", "j"."name", "j"."ownedcollectionroot", "j"."ownedreferenceroot" from "jsonentities |
| HIGH | ….Sqlite.FunctionalTests/Update/JsonUpdateSqliteTest.cs | 0 | select "j"."id", "j"."entitybasicid", "j"."name", "j"."ownedcollectionroot", "j"."ownedreferenceroot" from "jsonentities |
| HIGH | ….Sqlite.FunctionalTests/Update/JsonUpdateSqliteTest.cs | 0 | select "j"."id", "j"."entitybasicid", "j"."name", "j"."ownedcollectionroot", "j"."ownedreferenceroot" from "jsonentities |
| HIGH | ….Sqlite.FunctionalTests/Update/JsonUpdateSqliteTest.cs | 0 | select "j"."id", "j"."entitybasicid", "j"."name", "j"."ownedcollectionroot", "j"."ownedreferenceroot" from "jsonentities |
| HIGH | ….Sqlite.FunctionalTests/Update/JsonUpdateSqliteTest.cs | 0 | select "j"."id", "j"."entitybasicid", "j"."name", "j"."ownedcollectionroot", "j"."ownedreferenceroot" from "jsonentities |
| HIGH | ….Sqlite.FunctionalTests/Update/JsonUpdateSqliteTest.cs | 0 | select "j"."id", "j"."entitybasicid", "j"."name", "j"."ownedcollectionroot", "j"."ownedreferenceroot" from "jsonentities |
| HIGH | ….Sqlite.FunctionalTests/Update/JsonUpdateSqliteTest.cs | 0 | select "j"."id", "j"."entitybasicid", "j"."name", "j"."ownedcollectionroot", "j"."ownedreferenceroot" from "jsonentities |
| HIGH | ….Sqlite.FunctionalTests/Update/JsonUpdateSqliteTest.cs | 0 | select "j"."id", "j"."entitybasicid", "j"."name", "j"."ownedcollectionroot", "j"."ownedreferenceroot" from "jsonentities |
| HIGH | ….Sqlite.FunctionalTests/Update/JsonUpdateSqliteTest.cs | 0 | select "j"."id", "j"."entitybasicid", "j"."name", "j"."ownedcollectionroot", "j"."ownedreferenceroot" from "jsonentities |
| HIGH | ….Sqlite.FunctionalTests/Update/JsonUpdateSqliteTest.cs | 0 | select "j"."id", "j"."entitybasicid", "j"."name", "j"."ownedcollectionroot", "j"."ownedreferenceroot" from "jsonentities |
| HIGH | ….Sqlite.FunctionalTests/Update/JsonUpdateSqliteTest.cs | 0 | select "j"."id", "j"."entitybasicid", "j"."name", "j"."ownedcollectionroot", "j"."ownedreferenceroot" from "jsonentities |
| 4779 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | eng/common/SetupNugetSources.sh | 1 | #!/usr/bin/env bash |
| LOW | eng/common/vmr-sync.sh | 1 | #!/bin/bash |
| LOW | eng/common/vmr-sync.sh | 21 | ### |
| LOW | eng/common/native/init-distro-rid.sh | 1 | #!/bin/sh |
| LOW | eng/common/native/init-distro-rid.sh | 61 | |
| LOW | …common/templates-official/variables/pool-providers.yml | 1 | # Select a pool provider based off branch name. Anything with branch name containing 'release' must go into an -Svc pool |
| LOW | eng/common/templates/vmr-build-pr.yml | 1 | # This pipeline is used for running the VMR verification of the PR changes in repo-level PRs. |
| LOW | eng/common/templates/variables/pool-providers.yml | 1 | # Select a pool provider based off branch name. Anything with branch name containing 'release' must go into an -Svc pool |
| LOW | eng/common/core-templates/stages/renovate.yml | 1 | # -------------------------------------------------------------------------------------- |
| LOW | eng/common/core-templates/steps/install-microbuild.yml | 1 | parameters: |
| LOW | eng/common/core-templates/job/renovate.yml | 1 | # -------------------------------------------------------------------------------------- |
| LOW | eng/common/core-templates/job/source-build.yml | 1 | parameters: |
| LOW | eng/common/core-templates/job/source-build.yml | 21 | # published by source-build. |
| LOW | …EFCore.Tests/ChangeTracking/Internal/QueryFixupTest.cs | 881 | // .Single(); |
| LOW | …/Metadata/Internal/ClrCollectionAccessorFactoryTest.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. |
| LOW | test/EFCore.Tests/Metadata/Internal/PropertyBaseTest.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. |
| LOW | test/EFCore.Tests/Metadata/Internal/EntityTypeTest.cs | 2781 | // | | | |
| LOW | …sts/Metadata/Conventions/BackingFieldConventionTest.cs | 501 | |
| LOW | …e.Specification.Tests/OptimisticConcurrencyTestBase.cs | 641 | async c => Assert.Equal(expectedPodiums, (await c.Drivers.SingleAsync(d => d.CarNumber == 1)).Podiums)); |
| LOW | …e.Specification.Tests/OptimisticConcurrencyTestBase.cs | 661 | /// After the exception is caught the resolver action is called, after which SaveChanges is called |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3101 | // { |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3121 | // }, |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3141 | // "Subspecies": null, |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3161 | // "Text": "Ta1" |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3181 | // "Name": "M1", |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3201 | // } |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3221 | // "License": { |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3241 | // "Rating": 8, |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3261 | // }, |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3281 | // "Tog": { |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3301 | // "Rating": 8, |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3321 | // }, |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3341 | // "Tog": { |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3361 | // "Writer": { |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3381 | // } |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3401 | // "Manufacturer": { |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3421 | // "Text": "To1" |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3441 | // "$id": "45", |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3461 | // "$id": "47", |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3481 | // "Tag": { |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3501 | // "$id": "52", |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3521 | // } |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3541 | // }, |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3561 | // "$id": "59", |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3581 | // } |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3601 | // }, |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3621 | // "LastName": "lastNameWriter2", |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3641 | // "Title": "Ti1", |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3661 | // "Rating": 7, |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3681 | // } |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3701 | // "Tog": { |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3721 | // "Rating": 8, |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3741 | // }, |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3761 | // "Tag": { |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3781 | // "Milk": { |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3801 | // "Charge": 1.00, |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3821 | // "Tag": { |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3841 | // "Milk": { |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3861 | // "Charge": 1.00, |
| LOW | …st/EFCore.Specification.Tests/LazyLoadProxyTestBase.cs | 3881 | // "Writer": { |
| 9052 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | …tion.Tests/BulkUpdates/NorthwindBulkUpdatesTestBase.cs | 936 | s => s.SetProperty(c => c.c.City, c => c.LastOrder.OrderDate.Value.Year.ToString()), |
| CRITICAL | …FCore.Design.Tests/Design/Internal/CSharpHelperTest.cs | 588 | "Microsoft.EntityFrameworkCore.Design.Internal.SimpleTestTypeFactory.StaticCreate()", |
| CRITICAL | …FCore.Design.Tests/Design/Internal/CSharpHelperTest.cs | 602 | "Microsoft.EntityFrameworkCore.Design.Internal.SimpleTestTypeFactory.StaticCreate(\"Jerry\")", |
| CRITICAL | …FCore.Design.Tests/Design/Internal/CSharpHelperTest.cs | 617 | "Microsoft.EntityFrameworkCore.Design.Internal.SimpleTestTypeFactory.StaticCreate(\"Jerry\", 77)", |
| CRITICAL | …FCore.Relational.Tests/Metadata/RelationalModelTest.cs | 3719 | var resolved = Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalModel.GetIndex( |
| CRITICAL | …ntions/Internal/TableValuedDbFunctionConventionTest.cs | 59 | "Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.TableValuedDbFunctionConventionTest.GetKeyl |
| CRITICAL | …ntions/Internal/TableValuedDbFunctionConventionTest.cs | 76 | "Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.TableValuedDbFunctionConventionTest.GetKeyl |
| CRITICAL | …ntions/Internal/TableValuedDbFunctionConventionTest.cs | 92 | "Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.TableValuedDbFunctionConventionTest.GetScal |
| CRITICAL | …erver/Extensions/SqlServerPropertyBuilderExtensions.cs | 110 | : propertyBuilder.Metadata.DeclaringType.Model.Builder.HasSequence(name, schema, fromDataAnnotation); |
| CRITICAL | …erver/Extensions/SqlServerPropertyBuilderExtensions.cs | 223 | : propertyBuilder.Metadata.DeclaringType.Model.Builder.HasSequence(name, schema, fromDataAnnotation); |
| CRITICAL | …sign/Scaffolding/Internal/CSharpEntityTypeGenerator.cs | 319 | object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("EntityType"); |
| CRITICAL | …sign/Scaffolding/Internal/CSharpEntityTypeGenerator.cs | 353 | object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("Options"); |
| CRITICAL | …sign/Scaffolding/Internal/CSharpEntityTypeGenerator.cs | 386 | object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("NamespaceHint"); |
| CRITICAL | …esign/Scaffolding/Internal/CSharpDbContextGenerator.cs | 522 | object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("Model"); |
| CRITICAL | …esign/Scaffolding/Internal/CSharpDbContextGenerator.cs | 556 | object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("Options"); |
| CRITICAL | …esign/Scaffolding/Internal/CSharpDbContextGenerator.cs | 589 | object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("NamespaceHint"); |
| CRITICAL | src/ef/Generators/BundleProgramGenerator.cs | 90 | object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("ContextType"); |
| CRITICAL | src/ef/Generators/BundleProgramGenerator.cs | 104 | object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("Assembly"); |
| CRITICAL | src/ef/Generators/BundleProgramGenerator.cs | 118 | object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("StartupAssembly"); |
| CRITICAL | src/ef/Generators/BundleProjectGenerator.cs | 118 | object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("TargetFramework"); |
| CRITICAL | src/ef/Generators/BundleProjectGenerator.cs | 132 | object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("EFCoreVersion"); |
| CRITICAL | src/ef/Generators/BundleProjectGenerator.cs | 146 | object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("Project"); |
| CRITICAL | src/ef/Generators/BundleProjectGenerator.cs | 160 | object data = global::System.Runtime.Remoting.Messaging.CallContext.LogicalGetData("StartupProject"); |
| CRITICAL | src/EFCore/DbContextOptions.cs | 149 | && p.First.Value.Extension.Info.ShouldUseSameServiceProvider(p.Second.Value.Extension.Info)); |
| CRITICAL | …/EFCore/Metadata/Internal/InternalForeignKeyBuilder.cs | 2954 | Metadata.DeclaringEntityType.Model.ConventionDispatcher.Tracker.Update(removedForeignKey, newRelationshipBui |
| CRITICAL | …Metadata/Conventions/ComplexTypeAttributeConvention.cs | 44 | complexType.Builder.Metadata.Model.Builder.ComplexType(memberType); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/EFCore.Tests/ChangeTracking/PropertyEntryTest.cs | 5214 | entity.Address = new Address { Street = "123 Main St", ZipCode = null }; |
| LOW | …ecification.Tests/Query/NorthwindWhereQueryTestBase.cs | 1316 | => ss.Set<Order>().Where(o => o.CustomerID == "John Doe").Select(o => o.CustomerID).FirstOrDefault().Len |
| LOW | …cification.Tests/Query/NorthwindSelectQueryTestBase.cs | 1348 | => (int?)ss.Set<Order>().Where(o => o.CustomerID == "John Doe").Select(o => o.CustomerID).FirstOrDefault |
| LOW | …cification.Tests/Query/NorthwindSelectQueryTestBase.cs | 1349 | ss => ss.Set<Customer>().Select(c => ss.Set<Order>().Where(o => o.CustomerID == "John Doe").Select(o => o.Cu |
| LOW | …l.Specification.Tests/Migrations/MigrationsTestBase.cs | 709 | .HasDefaultValue("John Doe"), |
| LOW | …l.Specification.Tests/Migrations/MigrationsTestBase.cs | 716 | Assert.Contains("John Doe", nameColumn.DefaultValueSql); |
| LOW | …on.Tests/Update/ComplexCollectionJsonUpdateTestBase.cs | 27 | company.Contacts!.Add(new Contact { Name = "New Contact", PhoneNumbers = ["555-0000"] }); |
| LOW | …on.Tests/Update/ComplexCollectionJsonUpdateTestBase.cs | 45 | Assert.Equal("555-0000", company.Contacts[2].PhoneNumbers[0]); |
| LOW | …on.Tests/Update/ComplexCollectionJsonUpdateTestBase.cs | 193 | Name = "John Doe", |
| LOW | …on.Tests/Update/ComplexCollectionJsonUpdateTestBase.cs | 194 | PhoneNumbers = ["555-1234", "555-5678"], |
| LOW | …on.Tests/Update/ComplexCollectionJsonUpdateTestBase.cs | 197 | Street = "123 Main St", |
| LOW | …on.Tests/Update/ComplexCollectionJsonUpdateTestBase.cs | 206 | PhoneNumbers = ["555-9876"], |
| LOW | …on.Tests/Update/ComplexCollectionJsonUpdateTestBase.cs | 228 | Assert.Equal("John Doe", john.Name); |
| LOW | …on.Tests/Update/ComplexCollectionJsonUpdateTestBase.cs | 229 | Assert.Equal("123 Main St", john.Address.Street); |
| LOW | …on.Tests/Update/ComplexCollectionJsonUpdateTestBase.cs | 248 | company.Contacts = [new Contact { Name = "Contact 1", PhoneNumbers = ["555-1111"] }]; |
| LOW | …on.Tests/Update/ComplexCollectionJsonUpdateTestBase.cs | 329 | company.Employees![0].PhoneNumbers.Add("555-9999"); |
| LOW | …on.Tests/Update/ComplexCollectionJsonUpdateTestBase.cs | 341 | Assert.Equal("555-0001", employee.PhoneNumbers[0]); |
| LOW | …on.Tests/Update/ComplexCollectionJsonUpdateTestBase.cs | 342 | Assert.Equal("555-9999", employee.PhoneNumbers[1]); |
| LOW | …on.Tests/Update/ComplexCollectionJsonUpdateTestBase.cs | 418 | PhoneNumbers = ["555-1111"], |
| LOW | …on.Tests/Update/ComplexCollectionJsonUpdateTestBase.cs | 455 | PhoneNumbers = ["555-7777", "555-8888"], |
| LOW | …on.Tests/Update/ComplexCollectionJsonUpdateTestBase.cs | 476 | Assert.Equal("555-7777", employee.PhoneNumbers[0]); |
| LOW | …on.Tests/Update/ComplexCollectionJsonUpdateTestBase.cs | 697 | new Contact { Name = "First Contact", PhoneNumbers = ["555-1234", "555-5678"] }, |
| LOW | …on.Tests/Update/ComplexCollectionJsonUpdateTestBase.cs | 698 | new Contact { Name = "Second Contact", PhoneNumbers = ["555-9876", "555-5432"] } |
| LOW | …on.Tests/Update/ComplexCollectionJsonUpdateTestBase.cs | 705 | PhoneNumbers = ["555-0001"], |
| LOW | …lTests/Update/ComplexCollectionJsonUpdateSqliteTest.cs | 19 | @p0='[{"Name":"First Contact","PhoneNumbers":["555-1234","555-5678"]},{"Name":"Second Contact","PhoneNumbers":["555-9876 |
| LOW | …lTests/Update/ComplexCollectionJsonUpdateSqliteTest.cs | 34 | @p0='[{"Name":"Second Contact","PhoneNumbers":["555-9876","555-5432"]}]' (Nullable = false) (Size = 66) |
| LOW | …lTests/Update/ComplexCollectionJsonUpdateSqliteTest.cs | 49 | @p0='[{"Name":"First Contact - Modified","PhoneNumbers":["555-1234","555-5678"]},{"Name":"Second Contact","PhoneNumbers" |
| LOW | …lTests/Update/ComplexCollectionJsonUpdateSqliteTest.cs | 64 | @p0='[{"Name":"Second Contact","PhoneNumbers":["555-9876","555-5432"]},{"Name":"First Contact","PhoneNumbers":["555-1234 |
| LOW | …lTests/Update/ComplexCollectionJsonUpdateSqliteTest.cs | 103 | @p0='[{"Name":"John Doe","PhoneNumbers":["555-1234","555-5678"],"Address":{"City":"Seattle","Country":"USA","PostalCode" |
| LOW | …lTests/Update/ComplexCollectionJsonUpdateSqliteTest.cs | 103 | @p0='[{"Name":"John Doe","PhoneNumbers":["555-1234","555-5678"],"Address":{"City":"Seattle","Country":"USA","PostalCode" |
| LOW | …lTests/Update/ComplexCollectionJsonUpdateSqliteTest.cs | 103 | @p0='[{"Name":"John Doe","PhoneNumbers":["555-1234","555-5678"],"Address":{"City":"Seattle","Country":"USA","PostalCode" |
| LOW | …lTests/Update/ComplexCollectionJsonUpdateSqliteTest.cs | 118 | @p0='[{"Name":"Contact 1","PhoneNumbers":["555-1111"]}]' (Nullable = false) (Size = 50) |
| LOW | …lTests/Update/ComplexCollectionJsonUpdateSqliteTest.cs | 164 | @p0='[{"Name":"Initial Employee","PhoneNumbers":["555-0001","555-9999"],"Address":{"City":"Initial City","Country":"USA" |
| LOW | …lTests/Update/ComplexCollectionJsonUpdateSqliteTest.cs | 179 | @p0='[{"Name":"Initial Employee","PhoneNumbers":["555-0001"],"Address":{"City":"Modified City","Country":"USA","PostalCo |
| LOW | …lTests/Update/ComplexCollectionJsonUpdateSqliteTest.cs | 209 | @p0='[{"Name":"New Employee","PhoneNumbers":["555-1111"],"Address":{"City":"New City","Country":"USA","PostalCode":"1234 |
| LOW | …lTests/Update/ComplexCollectionJsonUpdateSqliteTest.cs | 224 | @p0='[{"Name":"Replacement Employee","PhoneNumbers":["555-7777","555-8888"],"Address":{"City":"Replace City","Country":" |
| LOW | …lTests/Update/ComplexCollectionJsonUpdateSqliteTest.cs | 239 | @p0='[{"Name":"Initial Employee","PhoneNumbers":["555-0001"],"Address":{"City":"Initial City","Country":"USA","PostalCod |
| LOW | ….FunctionalTests/Migrations/MigrationsSqlServerTest.cs | 589 | ALTER TABLE [People] ADD [Name] nvarchar(max) NOT NULL DEFAULT N'John Doe'; |
| LOW | …sts/Update/ComplexCollectionJsonUpdateSqlServerTest.cs | 19 | @p0='[{"Name":"First Contact","PhoneNumbers":["555-1234","555-5678"]},{"Name":"Second Contact","PhoneNumbers":["555-9876 |
| LOW | …sts/Update/ComplexCollectionJsonUpdateSqlServerTest.cs | 36 | @p0='[{"Name":"Second Contact","PhoneNumbers":["555-9876","555-5432"]}]' (Nullable = false) (Size = 66) |
| LOW | …sts/Update/ComplexCollectionJsonUpdateSqlServerTest.cs | 70 | @p0='[{"Name":"First Contact - Modified","PhoneNumbers":["555-1234","555-5678"]},{"Name":"Second Contact","PhoneNumbers" |
| LOW | …sts/Update/ComplexCollectionJsonUpdateSqlServerTest.cs | 87 | @p0='[{"Name":"Second Contact","PhoneNumbers":["555-9876","555-5432"]},{"Name":"First Contact","PhoneNumbers":["555-1234 |
| LOW | …sts/Update/ComplexCollectionJsonUpdateSqlServerTest.cs | 132 | @p0='[{"Name":"John Doe","PhoneNumbers":["555-1234","555-5678"],"Address":{"City":"Seattle","Country":"USA","PostalCode" |
| LOW | …sts/Update/ComplexCollectionJsonUpdateSqlServerTest.cs | 132 | @p0='[{"Name":"John Doe","PhoneNumbers":["555-1234","555-5678"],"Address":{"City":"Seattle","Country":"USA","PostalCode" |
| LOW | …sts/Update/ComplexCollectionJsonUpdateSqlServerTest.cs | 132 | @p0='[{"Name":"John Doe","PhoneNumbers":["555-1234","555-5678"],"Address":{"City":"Seattle","Country":"USA","PostalCode" |
| LOW | …sts/Update/ComplexCollectionJsonUpdateSqlServerTest.cs | 149 | @p0='[{"Name":"Contact 1","PhoneNumbers":["555-1111"]}]' (Nullable = false) (Size = 50) |
| LOW | …sts/Update/ComplexCollectionJsonUpdateSqlServerTest.cs | 201 | @p0='[{"Name":"Initial Employee","PhoneNumbers":["555-0001","555-9999"],"Address":{"City":"Initial City","Country":"USA" |
| LOW | …sts/Update/ComplexCollectionJsonUpdateSqlServerTest.cs | 218 | @p0='[{"Name":"Initial Employee","PhoneNumbers":["555-0001"],"Address":{"City":"Modified City","Country":"USA","PostalCo |
| LOW | …sts/Update/ComplexCollectionJsonUpdateSqlServerTest.cs | 252 | @p0='[{"Name":"New Employee","PhoneNumbers":["555-1111"],"Address":{"City":"New City","Country":"USA","PostalCode":"1234 |
| LOW | …sts/Update/ComplexCollectionJsonUpdateSqlServerTest.cs | 269 | @p0='[{"Name":"Replacement Employee","PhoneNumbers":["555-7777","555-8888"],"Address":{"City":"Replace City","Country":" |
| LOW | …sts/Update/ComplexCollectionJsonUpdateSqlServerTest.cs | 286 | @p0='[{"Name":"Initial Employee","PhoneNumbers":["555-0001"],"Address":{"City":"Initial City","Country":"USA","PostalCod |
| LOW | …tionalTests/Query/NorthwindSelectQuerySqlServerTest.cs | 1457 | WHERE [o].[CustomerID] = N'John Doe') |
| LOW | …ctionalTests/Query/NorthwindWhereQuerySqlServerTest.cs | 1688 | WHERE [o].[CustomerID] = N'John Doe') = 0 |
| LOW | …FCore.InMemory.FunctionalTests/DatabaseInMemoryTest.cs | 105 | new SimpleContext.Artist { ArtistId = "JDId", Name = "John Doe" }); |
| LOW | …FCore.InMemory.FunctionalTests/DatabaseInMemoryTest.cs | 114 | Assert.Equal("John Doe", data[0].Name); |
| LOW | …lational/Extensions/RelationalDbFunctionsExtensions.cs | 19 | /// <c>WHERE customer.name COLLATE 'de_DE' = 'John Doe'</c>. |
| LOW | src/EFCore/README.md | 36 | context.Customers.Add(new Customer { Name = "John Doe" }); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …sign/Scaffolding/Internal/CSharpEntityTypeGenerator.cs | 3 | // This code was generated by a tool. |
| HIGH | …esign/Scaffolding/Internal/CSharpDbContextGenerator.cs | 3 | // This code was generated by a tool. |
| HIGH | …Design/Query/Internal/PrecompiledQueryCodeGenerator.cs | 94 | // TODO: Ignore our auto-generated code! Also compiled model, generated code (comment, filename...?). |
| HIGH | …FCore.Analyzers/Properties/AnalyzerStrings.Designer.cs | 3 | // This code was generated by a tool. |
| HIGH | src/ef/Generators/BundleProgramGenerator.cs | 3 | // This code was generated by a tool. |
| HIGH | src/ef/Generators/BundleProjectGenerator.cs | 3 | // This code was generated by a tool. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | eng/common/core-templates/stages/renovate.yml | 1 | # -------------------------------------------------------------------------------------- |
| MEDIUM | eng/common/core-templates/stages/renovate.yml | 3 | # -------------------------------------------------------------------------------------- |
| MEDIUM | eng/common/core-templates/stages/renovate.yml | 9 | # -------------------------------------------------------------------------------------- |
| MEDIUM | eng/common/core-templates/job/renovate.yml | 1 | # -------------------------------------------------------------------------------------- |
| MEDIUM | eng/common/core-templates/job/renovate.yml | 3 | # -------------------------------------------------------------------------------------- |
| MEDIUM | eng/common/core-templates/job/renovate.yml | 17 | # -------------------------------------------------------------------------------------- |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …ommon/core-templates/steps/enable-internal-sources.yml | 24 | # If running on dnceng (internal project), just use the default behavior for NuGetAuthenticate. |
| MEDIUM | …e.Specification.Tests/ConferencePlannerTestBaseData.cs | 134 | ""description"": ""Why would you ever want to introduce unmanaged code into your managed codebase when recen |
| MEDIUM | …e.Specification.Tests/ConferencePlannerTestBaseData.cs | 464 | ""description"": ""Why would you ever want to introduce unmanaged code into your managed codebase when rec |
| MEDIUM | …ExpressionVisitor.ShaperProcessingExpressionVisitor.cs | 150 | /// Json entities are added after includes so that we can utilize tracking (includes will track all json ent |
| MEDIUM | …re.Relational/Query/SqlExpressions/SelectExpression.cs | 2208 | // TODO: We could make this little more robust by allow the indexes to be different. See issue#2 |
| MEDIUM | …re.Relational/Query/SqlExpressions/SelectExpression.cs | 2329 | // TODO: We could make this little more robust by allow the indexes to be different. See |
| MEDIUM | src/EFCore.Cosmos/Properties/CosmosStrings.Designer.cs | 693 | /// Transactional batches will skip bulk execution. Use DatabaseFacade.AutoTransactionBehavior = AutoTransac |
| MEDIUM | src/EFCore.Cosmos/Diagnostics/CosmosEventId.cs | 200 | /// will skip bulk execution. Use AutoTransactionBehavior.Never to leverage bulk execution. If batching was inte |
| MEDIUM | …Cosmos/Infrastructure/CosmosDbContextOptionsBuilder.cs | 223 | /// See <see href="https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/how-to-manage-consistency?tabs=portal |
| MEDIUM | …Cosmos/Infrastructure/CosmosDbContextOptionsBuilder.cs | 223 | /// See <see href="https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/how-to-manage-consistency?tabs=portal |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | eng/common/tools.sh | 323 | # Check if the script is older than 30 days using timestamp file |
| LOW | eng/common/tools.sh | 425 | # Check if the toolset has already been extracted |
| LOW | eng/common/SetupNugetSources.sh | 59 | # Check if disabledPackageSources section exists |
| LOW | eng/common/SetupNugetSources.sh | 65 | # Check if this source name is disabled |
| LOW | eng/common/SetupNugetSources.sh | 85 | # Check if source already exists |
| LOW | eng/common/SetupNugetSources.sh | 115 | # Check if disabledPackageSources section exists |
| LOW | eng/common/SetupNugetSources.sh | 185 | # Check if there is no existing credential for this FeedName |
| LOW | eng/common/core-templates/steps/source-build.yml | 31 | # Check if AzDO substitutes in a build config from a variable, and use it if so. |
| LOW | eng/common/core-templates/steps/install-microbuild.yml | 64 | # Check if ESRP is disabled while SignType is real |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | eng/common/native/install-dependencies.sh | 7 | # Usage: |
| LOW | …common/templates-official/variables/pool-providers.yml | 12 | # How to use: |
| LOW | eng/common/templates/variables/pool-providers.yml | 12 | # How to use: |
| LOW | eng/common/core-templates/job/renovate.yml | 11 | # Usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | eng/common/cross/install-debs.py | 20 | |
| LOW | eng/common/cross/install-debs.py | 192 | |
| LOW | eng/common/cross/install-debs.py | 217 | |
| LOW | eng/common/cross/install-debs.py | 255 | |
| LOW | eng/common/cross/install-debs.py | 289 | |
| LOW | eng/common/cross/install-debs.py | 333 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | eng/common/cross/install-debs.py | 42 | print(f"Error downloading {url}: {type(e).__name__} - {e}. Retrying...") |
| MEDIUM | eng/common/cross/install-debs.py | 202 | print(f"Error: Package '{current}' was not found in the available packages.") |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | eng/common/cross/build-rootfs.sh | 635 | # Create the symlink in the same directory |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …qlServer/Migrations/SqlServerMigrationsSqlGenerator.cs | 3246 | // when adding (non-period) column to an existing temporal table we need to check if we have dis |
| LOW | ….Cosmos/Metadata/Conventions/CosmosJsonIdConvention.cs | 150 | // But first, we need to check if the original property found pointing to JSON `id` is not our computed property |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | eng/common/cross/install-debs.py | 49 | async def download_deb_files_parallel(mirror, packages, tmp_dir): |
| LOW | eng/common/cross/install-debs.py | 65 | async def download_package_index_parallel(mirror, arch, suites, check_sig, keyring): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/ef/Properties/Resources.Designer.cs | 23 | /// Don't forget to copy appsettings.json alongside your bundle if you need it to apply migrations. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | eng/common/cross/install-debs.py | 18 |