https://github.com/nafis-sadik/dotnet-core-scaffolding-oracle
Oracle Database Scaffolding with Entity Framework Core
https://github.com/nafis-sadik/dotnet-core-scaffolding-oracle
database dotnet dotnet-core efcore entity-framework-core oracle oracle-database oracle-db scaffolding
Last synced: 24 days ago
JSON representation
Oracle Database Scaffolding with Entity Framework Core
- Host: GitHub
- URL: https://github.com/nafis-sadik/dotnet-core-scaffolding-oracle
- Owner: nafis-sadik
- Created: 2020-11-18T04:13:39.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-10T16:03:27.000Z (over 4 years ago)
- Last Synced: 2025-04-19T04:41:53.479Z (about 1 month ago)
- Topics: database, dotnet, dotnet-core, efcore, entity-framework-core, oracle, oracle-database, oracle-db, scaffolding
- Homepage:
- Size: 170 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Scaffolding Oracle Database in Dotnet Core

# About This
This is a project for Scaffolding DBContext in Entity Framework Core from existing oracle database.# NuGet Packages
| NuGet Packages | Version |
| ------ | ------ |
| Microsoft.EntityFrameworkCore | 3.1.10 |
| Microsoft.EntityFrameworkCore.Design | 3.1.10 |
| Microsoft.EntityFrameworkCore.Relational | 3.1.10 |
| Microsoft.EntityFrameworkCore.Relational.Design | 1.1.6 |
| Microsoft.EntityFrameworkCore.Tools | 3.1.10 |
| Oracle.EntityFrameworkCore | 3.19.80 |
| Oracle.ManagedDataAccess.Core | 2.19.100 |# Dependencies
- Visual Studio 2019 | [Download](https://visualstudio.microsoft.com/downloads/)
- Dotnet Core 3.1 | [Download](https://dotnet.microsoft.com/download/dotnet-core/3.1) |# How to use it?
It's very simple. It's a C# class library targeting ***.net core 3.1.*** So Makesure you have ***.net core 3.1 or above***.**Step # 1 :**
Clone the repository
**Step # 2 :**
Open the solution file (Recommended with Visual Studio 2019)
**Step # 3 :**Go to ***Tools > NuGet package manger > Package Manager Console***
**Step # 4 :**Run the following Command
```sh
Scaffold-DbContext "User Id=[Your User Id];Password=[Your Password];Data Source=[Your Data Source];" Oracle.EntityFrameworkCore -OutputDir Models
```License
----MIT
**Free Software, Hell Yeah!**
***Tools I used to create this read me. Might also help you!***
[Shields IO](https://shields.io)
[Dillinger](https://dillinger.io)