https://github.com/wallymathieu/entity-framework-studies
Port of nhibernate-studies to Entity Framework
https://github.com/wallymathieu/entity-framework-studies
c-sharp studies
Last synced: 9 months ago
JSON representation
Port of nhibernate-studies to Entity Framework
- Host: GitHub
- URL: https://github.com/wallymathieu/entity-framework-studies
- Owner: wallymathieu
- License: mit
- Created: 2015-02-08T10:49:45.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-06-01T19:42:48.000Z (about 3 years ago)
- Last Synced: 2025-02-21T17:49:16.563Z (over 1 year ago)
- Topics: c-sharp, studies
- Language: C#
- Homepage:
- Size: 1.1 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Entity framework studies
This repository contains source for both c# and f#.
## C\#
- [web](./src/Web)
- [tests](./tests/Tests)
## F\#
- [web](./src/WebFs)
- [tests](./tests/FsTests)
- [migrations](./migrations/FsMigrations)
## Dev container
To ensure that the DB has the migrations applied
```bash
bash ./migrations/FsMigrations/run.sh && bash ./src/Web/run.migrations.sh
```
## Docker compose
Copy .devcontainer.env to .env:
```sh
cp .devcontainer.env .env
```
Start database
```sh
docker compose up -d db
```
Start and build web (as a deamon)
```sh
docker compose up -d web --build
```