https://github.com/arnab-developer/add-edit-delete-efcore
Save disconnected object with EF Core
https://github.com/arnab-developer/add-edit-delete-efcore
Last synced: 3 months ago
JSON representation
Save disconnected object with EF Core
- Host: GitHub
- URL: https://github.com/arnab-developer/add-edit-delete-efcore
- Owner: Arnab-Developer
- License: mit
- Created: 2020-04-27T05:06:15.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-09T11:53:37.000Z (about 4 years ago)
- Last Synced: 2025-01-17T02:24:22.704Z (5 months ago)
- Language: C#
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Add edit delete with EF Core.
Save disconnected object with EF Core. The `AddEditDelete` method checks the object status and based
on that it create, update or remove from database. It uses EF Core to check the status of the object.```csharp
private static void AddEditDelete(Order order)
{
// code here...
}
```In `Main` the `AddEditDelete` is called to do different work. For different work different region
has been created.* Initial create
* Add order items
* Remove order items
* Work with place
* Delete