EntityFramework.Docs icon indicating copy to clipboard operation
EntityFramework.Docs copied to clipboard

Add more examples/samples

Open lm28 opened this issue 8 years ago • 6 comments

Virtually across the entire https://docs.microsoft.com site....there are very few examples showing how to use a feature and its syntax. (EG https://docs.microsoft.com/en-us/ef/core/miscellaneous/cli/powershell has no examples.) Surely this should be a 'Standard Operating Procedure'


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

lm28 avatar Sep 03 '18 01:09 lm28

@lm28 thanks for you comment. This is a reference style page and therefore doesn't have many samples. If you search on "Package Manager Console" you can find many docs with samples in this repo and in the ASP.NET repo. Is there a particular sample you're looking for?

Rick-Anderson avatar Sep 07 '18 17:09 Rick-Anderson

@Rick-Anderson, if this "reference style" page had samples, or links to samples, then it would actually be useful to real people. @lm28, see ya out on StackOverflow. ;)

BillZiss avatar Sep 20 '18 21:09 BillZiss

Scaffold-DbContext "Server=xxx.xxx.xxx.xxx;Database=xyz;uid=xyz;password=xyz" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models -f -Connection DbMyWallet

mucciols avatar Oct 03 '18 18:10 mucciols

when i type this command the prompt tell me Scaffold-DbContext : A positional parameter cannot be found that accepts argument 'Microsoft.EntityFrameworkCore.SqlServer'.

the problem is -Connection

mucciols avatar Oct 03 '18 18:10 mucciols

Have to agree with @lm28. So disappointed with the documentation on ASP.NET Core Razor pages and MVC. In the past, documentation and support from Microsoft is what stood out to me. Almost none of the tutorials / samples gave a complete understanding of the advantages and a step by step overview. I had to go to plurasight and udemy for this.

gomz-5 avatar Nov 08 '18 20:11 gomz-5

Verified that this page contains examples. For other pages we will add examples are part of updating those pages.

ajcvickers avatar Jan 15 '20 21:01 ajcvickers