dotnet ef database update - any affect on existing oracle tables unrelated to the application? — oracle-tech

    Forum Stats

  • 3,715,657 Users
  • 2,242,821 Discussions
  • 7,845,481 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

dotnet ef database update - any affect on existing oracle tables unrelated to the application?

user5716448
user5716448 Member Posts: 1,683 Silver Badge
edited May 2019 in ODP.NET

Hi,

new to .net ef core and using visual studio code

Looking at tutorial at

https://docs.microsoft.com/en-us/aspnet/core/security/authentication/identity?view=aspnetcore-2.2&tabs=netcore-cli

want to use against an existing oracle schema we have which hosts a variety of datawarehouse tables and want to make sure command below has no affect on these existing tables

dotnet ef database update

assume this command simply creates/updates tables required by the .net application in question rather than delete the entire database and recreate.

Could someone please confirm?

Also to use this against oracle table do we need to just install the ef core beta and change the appsettings.json file to below?

"ConnectionStrings": {

  "DefaultConnection": "User Id=<schema>;Password=<pwd>;Data Source=<SID>;"

  },

Thanks

Answers

Sign In or Register to comment.