Update issue templates to remove discussions (#22690)

* Update issue templates to remove discussions

* Feedback
This commit is contained in:
Arthur Vickers 2020-09-24 16:27:51 -07:00 коммит произвёл GitHub
Родитель b692479dce
Коммит 7984016d1e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 118 добавлений и 26 удалений

58
.github/ISSUE_TEMPLATE/ask_a_question.md поставляемый Normal file
Просмотреть файл

@ -0,0 +1,58 @@
---
name: Ask a question
about: Ask a question about Entity Framework Core or Microsoft.Data.Sqlite
labels: customer-reported
---
## Ask a question
Remember:
* Please make your question as clear and specific as possible.
* Please check that the [documentation](https://docs.microsoft.com/ef/) does not answer your question.
* Please search in both [open](https://github.com/dotnet/efcore/issues) and [closed](https://github.com/dotnet/efcore/issues?q=is%3Aissue+is%3Aclosed) issues to check that your question has not already been answered.
### Include your code
Usually the best way to ask a clear question and get a quick response is to show your code. Preferably, attach a small, runnable project or post a small, runnable code listing that reproduces what you are seeing.
Use triple-tick code fences for any posted code. For example:
```C#
Console.WriteLine("Hello, World!");
```
### Include stack traces
Include the full exception message and stack trace for any exception you encounter.
Use triple-tick fences for stack traces. For example:
```
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at SixFour.Sub() in C:\Stuff\AllTogetherNow\SixFour\SixFour.cs:line 49
at SixFour.Main() in C:\Stuff\AllTogetherNow\SixFour\SixFour.cs:line 54
```
### Include verbose output
Please include verbose output when asking questions about the `dotnet ef` or Package Manager Console tools.
Use triple-tick fences for tool output. For example:
```
C:\Stuff\AllTogetherNow\FiveOh>dotnet ef dbcontext list --verbose
Using project 'C:\Stuff\AllTogetherNow\FiveOh\FiveOh.csproj'.
...
Finding DbContext classes in the project...
Found DbContext 'BlogContext'.
BlogContext
```
### Include provider and version information
EF Core version:
Database provider: (e.g. Microsoft.EntityFrameworkCore.SqlServer)
Target framework: (e.g. .NET 5.0)
Operating system:
IDE: (e.g. Visual Studio 2019 16.3)

46
.github/ISSUE_TEMPLATE/bug_report_efcore.md поставляемый
Просмотреть файл

@ -4,32 +4,56 @@ about: Create a report about something that isn't working
labels: customer-reported
---
<!-- Describe what isn't working as expected -->
## File a bug
Remember:
* Please check that the [documentation](https://docs.microsoft.com/ef/) does not explain the behavior you are seeing.
* Please search in both [open](https://github.com/dotnet/efcore/issues) and [closed](https://github.com/dotnet/efcore/issues?q=is%3Aissue+is%3Aclosed) issues to check that your bug has not already been filed.
### Steps to reproduce
### Include your code
<!--
What steps can we follow to reproduce the issue?
To fix any bug we must first reproduce it. To make this possible, please attach a small, runnable project or post a small, runnable code listing that reproduces what you are seeing.
We ❤ code! Include a complete code listing or attach a simplified project
It is often impossible for us to reproduce a bug when working with only code snippets since we have to guess at the missing code.
``` C#
Use triple-tick code fences for any posted code. For example:
```C#
Console.WriteLine("Hello, World!");
```
Got Exceptions? Include both the message and the stack trace
### Include stack traces
For `dotnet ef` and PMC, share the --verbose output
-->
Include the full exception message and stack trace for any exception you encounter.
Use triple-tick fences for stack traces. For example:
```
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at SixFour.Sub() in C:\Stuff\AllTogetherNow\SixFour\SixFour.cs:line 49
at SixFour.Main() in C:\Stuff\AllTogetherNow\SixFour\SixFour.cs:line 54
```
### Further technical details
### Include verbose output
Please include `--verbose` output when filing bugs about the `dotnet ef` or Package Manager Console tools.
Use triple-tick fences for tool output. For example:
```
C:\Stuff\AllTogetherNow\FiveOh>dotnet ef dbcontext list --verbose
Using project 'C:\Stuff\AllTogetherNow\FiveOh\FiveOh.csproj'.
...
Finding DbContext classes in the project...
Found DbContext 'BlogContext'.
BlogContext
```
### Include provider and version information
EF Core version:
Database provider: (e.g. Microsoft.EntityFrameworkCore.SqlServer)
Target framework: (e.g. .NET Core 3.0)
Target framework: (e.g. .NET 5.0)
Operating system:
IDE: (e.g. Visual Studio 2019 16.3)

32
.github/ISSUE_TEMPLATE/bug_report_sqlite.md поставляемый
Просмотреть файл

@ -4,28 +4,40 @@ about: Create a report about something that isn't working
labels: area-adonet-sqlite, customer-reported
---
<!-- Describe what isn't working as expected -->
## File a bug
Remember:
* Please check that the [documentation](https://docs.microsoft.com/ef/) does not explain the behavior you are seeing.
* Please search in both [open](https://github.com/dotnet/efcore/issues) and [closed](https://github.com/dotnet/efcore/issues?q=is%3Aissue+is%3Aclosed) issues to check that your bug has not already been filed.
### To Reproduce
### Include your code
<!--
What steps can we follow to reproduce the issue?
To fix any bug we must first reproduce it. To make this possible, please attach a small, runnable project or post a small, runnable code listing that reproduces what you are seeing.
We ❤ code! Include a complete code listing or attach a simplified project
It is often impossible for us to reproduce a bug when working with only code snippets since we have to guess at the missing code.
``` C#
Use triple-tick code fences for any posted code. For example:
```C#
Console.WriteLine("Hello, World!");
```
Got Exceptions? Include both the message and the stack trace
-->
### Include stack traces
Include the full exception message and stack trace for any exception you encounter.
Use triple-tick fences for stack traces. For example:
### Additional context
```
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at SixFour.Sub() in C:\Stuff\AllTogetherNow\SixFour\SixFour.cs:line 49
at SixFour.Main() in C:\Stuff\AllTogetherNow\SixFour\SixFour.cs:line 54
```
### Include version information
Microsoft.Data.Sqlite version:
Target framework: (e.g. .NET Core 3.0)
Target framework: (e.g. .NET 5.0)
Operating system:

3
.github/ISSUE_TEMPLATE/config.yml поставляемый
Просмотреть файл

@ -1,8 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: Got a question?
url: https://github.com/dotnet/efcore/discussions/new
about: Please use discussions to ask a question about using the product.
- name: Issue with ASP.NET Core
url: https://github.com/dotnet/aspnetcore/issues/new/choose
about: Please open issues relating to ASP.NET Core in dotnet/aspnetcore.

Просмотреть файл

@ -21,8 +21,9 @@ namespace Microsoft.EntityFrameworkCore
/// <summary>
/// <para>
/// References a given property on an entity instance. This is useful for shadow state properties, for which no CLR property exists. Currently this method can only be used in LINQ queries and can not be used to access the value assigned to a
/// property in other scenarios.
/// References a given property or navigation on an entity instance. This is useful for shadow state properties, for
/// which no CLR property exists. Currently this method can only be used in LINQ queries and can not be used to
/// access the value assigned to a property in other scenarios.
/// </para>
/// <para>
/// Note that this is a static method accessed through the top-level <see cref="EF" /> static type.