[program-l] Re: VisualStudio Console Use and JAWS or NVDA

  • From: "Alok Kaushik" <alok.lists@xxxxxxxxx>
  • To: <program-l@xxxxxxxxxxxxx>
  • Date: Mon, 24 Jan 2022 23:01:22 -0000

Hi Richard,

I generally use an equivalent command on command line instead of package
manager. You can refer to the below links to use entity framework tools from
command line.

 

https://www.nuget.org/packages/dotnet-ef/6.0.1

 

https://www.nuget.org/packages/Microsoft.EntityFrameworkCore.Tools/

 

Following are some examples of how I use the tools from the first link.

 

Install the tool using command line:

dotnet tool install --global dotnet-ef --version 6.0.1

 

Generate an EF migration:

dotnet ef migrations add InitialCreate

 

Generate SQL  script from migration:

dotnet ef migrations script 0 InitialCreate -o migrationScript.sql

Here  0 has special significance. This is the starting migration, and 0
means that we want to include everything.

 

Alternatively deploy the migration on the database server:

dotnet ef database update InitialCreate

 

 

Hope this helps.

Alok

 

From: program-l-bounce@xxxxxxxxxxxxx [mailto:program-l-bounce@xxxxxxxxxxxxx]
On Behalf Of Richard R. Thomas
Sent: 24 January 2022 17:55
To: Program-L@Freelists. Org <program-l@xxxxxxxxxxxxx>
Cc: Gmail <richardrthomas48@xxxxxxxxx>
Subject: [program-l] VisualStudio Console Use and JAWS or NVDA

 

Hi:

I am using visual studio 2022, jaws and nvda and required to use a console
window called PackageManager console from inside Visual Studio 2022 to quote
migrate a database schema to the local sql server.

The tutorial I am working said to enter a couple of powershell lines into
the console and run them.

I pasted the lines into the console and hit enter but nothing seemingly
happened.

Perhaps no accessible feedback, perhaps I did something wrong since I do not
use powershell nor have i used any consoles in about 30 years.

First, do consoles work with jaws or nvda, do you just past something into
the editor and hit enter or how do you issue instructions and read the
output inside a console and especially the package manager console with jaws
or nvda?

Second how do you type several instructions on seperat lines and do you
execute them all at once, it is suppose to be powershell script? or do you
have to execute them one at a time line by line or is there an execute
command to be typed in before hitting enter or something?

I have googled for some time but found nothing detailed so far.

Any article references or pointers would be greatly appreciated.

Thank You:

Richard R.            Thomas (Rick USA)

 

Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986>  for Windows

 

** To leave the list, click on the immediately-following link:- **
[mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe] ** If this link
doesn't work then send a message to: ** program-l-request@xxxxxxxxxxxxx
<mailto:program-l-request@xxxxxxxxxxxxx>  ** and in the Subject line type **
unsubscribe ** For other list commands such as vacation mode, click on the
** immediately-following link:- **
[mailto:program-l-request@xxxxxxxxxxxxx?subject=faq] ** or send a message,
to ** program-l-request@xxxxxxxxxxxxx
<mailto:program-l-request@xxxxxxxxxxxxx>  with the Subject:- faq 

Other related posts: