Skip to content

Commit c20ecc7

Browse files
Merged PR 34030: [frameshift/7.0] merge internal/release/7.0 into internal/release/frameshift/7.0
The frameshift branch was based off the 6.0 branding commit. This commit was upmerged into the 7.0 release branch and the branch got it's history instead of the merged history. This PR just merges the 7.0 branch on top of that history
2 parents 50a6896 + f16e454 commit c20ecc7

File tree

4,343 files changed

+967166
-774133
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,343 files changed

+967166
-774133
lines changed

.editorconfig

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -232,14 +232,6 @@ dotnet_naming_rule.const_field_naming.symbols = const_field_symbol
232232
dotnet_naming_rule.const_field_naming.style = pascal_case_style
233233
dotnet_naming_rule.const_field_naming.severity = suggestion
234234

235-
# Private Fields
236-
dotnet_naming_symbols.private_field_symbol.applicable_kinds = field
237-
dotnet_naming_symbols.private_field_symbol.applicable_accessibilities = private
238-
239-
dotnet_naming_rule.private_field_naming.symbols = private_field_symbol
240-
dotnet_naming_rule.private_field_naming.style = _camelCase
241-
dotnet_naming_rule.private_field_naming.severity = suggestion
242-
243235
# Parameters
244236
dotnet_naming_symbols.parameter_symbol.applicable_kinds = parameter
245237
dotnet_naming_symbols.parameter_symbol.applicable_accessibilities = *

.github/CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ The typical workflow for contributing to EF Core is outlined below. This is not
4949
* Make appropriate code and test changes. Follow the patterns and code style that you see in the existing code. Make sure to add tests that fail without the change and then pass with the change.
5050
* Consider other scenarios where your change may have an impact and add more testing. We always prefer having too many tests to having not enough of them.
5151
* When you are done with changes, make sure _all_ existing tests are still passing. (Again, typically by running `test` at a command prompt.)
52+
* EF Core tests contain many "SQL assertions" - these verify that the precise expected SQL is generated for all scenarios. Some changes can cause SQL alterations to ripple across many scenarios, and changing all expected SQL in assertions is quite laborious. If you set the `EF_TEST_REWRITE_BASELINES` environment variable to `1` and then run the tests, the SQL assertions in the source code will be automatically changed to contain the new SQL baselines.
5253
* Commit changes to your branch and push the branch to your GitHub fork.
5354
* Go to the main [EF Core repo](https://github.com/dotnet/efcore/pulls) and you should see a yellow box suggesting you create a PR from your fork. Do this, or [create the PR by some other mechanism](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests).
5455
* Sign the [contributor license agreement](https://cla.dotnetfoundation.org/) if you have not already done so.

.github/dependabot.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
version: 2
2+
registries:
3+
nuget.org:
4+
type: nuget-feed
5+
url: https://api.nuget.org/v3/index.json
26
updates:
37
- package-ecosystem: nuget
48
directory: /
@@ -11,8 +15,10 @@ updates:
1115
- dependency-name: Microsoft.AspNetCore.OData
1216
- dependency-name: Microsoft.Azure.Cosmos
1317
- dependency-name: Microsoft.CSharp
18+
- dependency-name: Microsoft.Data.SqlClient
1419
- dependency-name: Microsoft.DotNet.PlatformAbstractions
1520
- dependency-name: mod_spatialite
21+
- dependency-name: Mono.TextTemplating
1622
- dependency-name: NetTopologySuite*
1723
- dependency-name: Newtonsoft.Json
1824
- dependency-name: SQLitePCLRaw*
@@ -21,12 +27,10 @@ updates:
2127
- dependency-name: Microsoft.CodeAnalysis.CSharp*
2228
# New analyzer rules would need to be disabled
2329
- dependency-name: DotNetAnalyzers.DocumentationAnalyzers
24-
- dependency-name: Microsoft.CodeAnalysis.FxCopAnalyzers
2530
- dependency-name: StyleCop.Analyzers
2631
# Testing infrastructure should be intentionally updated
2732
- dependency-name: BenchmarkDotNet
28-
# Need to stay on LTS for 6.0
29-
- dependency-name: Microsoft.Data.SqlClient
3033
labels:
3134
- area-infrastructure
3235
- 'type-dependency update :arrow_up_small:'
36+
registries: '*'

.github/fabricbot.json

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
{
2+
"version": "1.0",
3+
"tasks": [
4+
{
5+
"taskType": "trigger",
6+
"capabilityId": "AutoMerge",
7+
"subCapability": "AutoMerge",
8+
"version": "1.0",
9+
"id": "5F9qlkCNy",
10+
"config": {
11+
"taskName": "Auto-merge PRs",
12+
"label": "auto-merge",
13+
"minMinutesOpen": "",
14+
"mergeType": "squash",
15+
"deleteBranches": true,
16+
"removeLabelOnPush": true,
17+
"requireAllStatuses": true,
18+
"conditionalMergeTypes": [
19+
{
20+
"mergeType": "merge",
21+
"condition": {
22+
"placeholder": "labels",
23+
"operator": "contains",
24+
"label_name": "type-merge forward :fast_forward:"
25+
}
26+
}
27+
],
28+
"requireAllStatuses_exemptList": [
29+
"dependabot",
30+
"codecov",
31+
"DotNet Maestro - Int",
32+
"Dotnet maestro",
33+
"msftbot"
34+
],
35+
"minimumNumberOfStatuses": 0
36+
}
37+
},
38+
{
39+
"taskType": "trigger",
40+
"capabilityId": "IssueResponder",
41+
"subCapability": "PullRequestResponder",
42+
"version": "1.0",
43+
"config": {
44+
"conditions": {
45+
"operator": "and",
46+
"operands": [
47+
{
48+
"name": "isAction",
49+
"parameters": {
50+
"action": "opened"
51+
}
52+
},
53+
{
54+
"name": "isActivitySender",
55+
"parameters": {
56+
"user": "dotnet-maestro[bot]",
57+
"association": "CONTRIBUTOR"
58+
}
59+
},
60+
{
61+
"name": "titleContains",
62+
"parameters": {
63+
"titlePattern": "Update dependencies"
64+
}
65+
}
66+
]
67+
},
68+
"eventType": "pull_request",
69+
"eventNames": [
70+
"pull_request",
71+
"issues",
72+
"project_card"
73+
],
74+
"taskName": "[Infrastructure PRs] Add area-infrastructure label to dependency update Pull Requests",
75+
"actions": [
76+
{
77+
"name": "addLabel",
78+
"parameters": {
79+
"label": "area-infrastructure"
80+
}
81+
},
82+
{
83+
"name": "addLabel",
84+
"parameters": {
85+
"label": "type-dependency update :arrow_up_small:"
86+
}
87+
},
88+
{
89+
"name": "approvePullRequest",
90+
"parameters": {
91+
"comment": "Auto-approving dependency update."
92+
}
93+
}
94+
]
95+
},
96+
"id": "2khUSIqMEcJ"
97+
},
98+
{
99+
"taskType": "trigger",
100+
"capabilityId": "IssueResponder",
101+
"subCapability": "PullRequestResponder",
102+
"version": "1.0",
103+
"config": {
104+
"conditions": {
105+
"operator": "and",
106+
"operands": [
107+
{
108+
"name": "isAction",
109+
"parameters": {
110+
"action": "opened"
111+
}
112+
},
113+
{
114+
"name": "isActivitySender",
115+
"parameters": {
116+
"user": "dotnet-maestro-bot"
117+
}
118+
},
119+
{
120+
"name": "titleContains",
121+
"parameters": {
122+
"titlePattern": "Merge branch"
123+
}
124+
}
125+
]
126+
},
127+
"eventType": "pull_request",
128+
"eventNames": [
129+
"pull_request",
130+
"issues",
131+
"project_card"
132+
],
133+
"taskName": "[Infrastructure PRs] Add area-infrastructure label to auto-merge Pull Requests",
134+
"actions": [
135+
{
136+
"name": "addLabel",
137+
"parameters": {
138+
"label": "area-infrastructure"
139+
}
140+
},
141+
{
142+
"name": "addLabel",
143+
"parameters": {
144+
"label": "type-merge forward :fast_forward:"
145+
}
146+
},
147+
{
148+
"name": "approvePullRequest",
149+
"parameters": {
150+
"comment": "Auto-approving branch merge."
151+
}
152+
},
153+
{
154+
"name": "addLabel",
155+
"parameters": {
156+
"label": "auto-merge"
157+
}
158+
}
159+
]
160+
},
161+
"id": "T7d3xzteS9I"
162+
}
163+
],
164+
"userGroups": []
165+
}

.github/workflows/TestCosmos.yaml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
- feature/*
88
- release/*
99

10+
permissions: {}
11+
1012
jobs:
1113
build:
1214
runs-on: windows-latest
@@ -15,7 +17,7 @@ jobs:
1517
- name: Start Cosmos Emulator
1618
run: |
1719
Import-Module "$env:ProgramFiles\Azure Cosmos DB Emulator\PSModules\Microsoft.Azure.CosmosDB.Emulator"
18-
Start-CosmosDbEmulator
20+
Start-CosmosDbEmulator -Timeout 360
1921
2022
- name: Checkout
2123
uses: actions/checkout@v2
@@ -24,5 +26,17 @@ jobs:
2426
run: restore.cmd
2527
shell: cmd
2628

29+
- name: Build
30+
run: build.cmd /p:Projects=${{ github.workspace }}\test\EFCore.Cosmos.FunctionalTests\EFCore.Cosmos.FunctionalTests.csproj
31+
shell: cmd
32+
2733
- name: Test on Cosmos
28-
run: .dotnet\dotnet test test\EFCore.Cosmos.FunctionalTests
34+
run: test.cmd /p:Projects=${{ github.workspace }}\test\EFCore.Cosmos.FunctionalTests\EFCore.Cosmos.FunctionalTests.csproj
35+
shell: cmd
36+
37+
- name: Publish Test Results
38+
uses: actions/upload-artifact@v3
39+
if: always()
40+
with:
41+
name: test-results
42+
path: artifacts/TestResults/Debug/*

All.sln

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1010
Directory.Build.props = Directory.Build.props
1111
Directory.Build.targets = Directory.Build.targets
1212
tools\Resources.tt = tools\Resources.tt
13+
eng\Versions.props = eng\Versions.props
1314
EndProjectSection
1415
EndProject
1516
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{CE6B50B2-34AE-44C9-940A-4E48C3E1B3BC}"
@@ -120,6 +121,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EFCore.AspNet.Sqlite.Functi
120121
EndProject
121122
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EFCore.AspNet.InMemory.FunctionalTests", "test\EFCore.AspNet.InMemory.FunctionalTests\EFCore.AspNet.InMemory.FunctionalTests.csproj", "{F1B2E5A0-8C74-414A-B262-353FEE325E9F}"
122123
EndProject
124+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EFCore.Trimming.Tests", "test\EFCore.Trimming.Tests\EFCore.Trimming.Tests.csproj", "{933C8662-817C-4F45-B98B-6557E28F7BB1}"
125+
EndProject
126+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EFCore.Templates", "src\EFCore.Templates\EFCore.Templates.csproj", "{1FE385D8-8F8B-4EC9-A1A9-AFCC38B8546C}"
127+
EndProject
123128
Global
124129
GlobalSection(SolutionConfigurationPlatforms) = preSolution
125130
Debug|Any CPU = Debug|Any CPU
@@ -318,6 +323,14 @@ Global
318323
{F1B2E5A0-8C74-414A-B262-353FEE325E9F}.Debug|Any CPU.Build.0 = Debug|Any CPU
319324
{F1B2E5A0-8C74-414A-B262-353FEE325E9F}.Release|Any CPU.ActiveCfg = Release|Any CPU
320325
{F1B2E5A0-8C74-414A-B262-353FEE325E9F}.Release|Any CPU.Build.0 = Release|Any CPU
326+
{933C8662-817C-4F45-B98B-6557E28F7BB1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
327+
{933C8662-817C-4F45-B98B-6557E28F7BB1}.Debug|Any CPU.Build.0 = Debug|Any CPU
328+
{933C8662-817C-4F45-B98B-6557E28F7BB1}.Release|Any CPU.ActiveCfg = Release|Any CPU
329+
{933C8662-817C-4F45-B98B-6557E28F7BB1}.Release|Any CPU.Build.0 = Release|Any CPU
330+
{1FE385D8-8F8B-4EC9-A1A9-AFCC38B8546C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
331+
{1FE385D8-8F8B-4EC9-A1A9-AFCC38B8546C}.Debug|Any CPU.Build.0 = Debug|Any CPU
332+
{1FE385D8-8F8B-4EC9-A1A9-AFCC38B8546C}.Release|Any CPU.ActiveCfg = Release|Any CPU
333+
{1FE385D8-8F8B-4EC9-A1A9-AFCC38B8546C}.Release|Any CPU.Build.0 = Release|Any CPU
321334
EndGlobalSection
322335
GlobalSection(SolutionProperties) = preSolution
323336
HideSolutionNode = FALSE
@@ -371,6 +384,8 @@ Global
371384
{F956A344-5C8D-4015-A3BF-7A8304C58BE4} = {258D5057-81B9-40EC-A872-D21E27452749}
372385
{CC93C465-F5AC-4CB9-A064-3675955962F4} = {258D5057-81B9-40EC-A872-D21E27452749}
373386
{F1B2E5A0-8C74-414A-B262-353FEE325E9F} = {258D5057-81B9-40EC-A872-D21E27452749}
387+
{933C8662-817C-4F45-B98B-6557E28F7BB1} = {258D5057-81B9-40EC-A872-D21E27452749}
388+
{1FE385D8-8F8B-4EC9-A1A9-AFCC38B8546C} = {CE6B50B2-34AE-44C9-940A-4E48C3E1B3BC}
374389
EndGlobalSection
375390
GlobalSection(ExtensibilityGlobals) = postSolution
376391
SolutionGuid = {285A5EB4-BCF4-40EB-B9E1-DF6DBCB5E705}

0 commit comments

Comments
 (0)