Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

Scaffold entities #71

Merged
merged 5 commits into from
Apr 4, 2020
Merged

Scaffold entities #71

merged 5 commits into from
Apr 4, 2020

Conversation

misha130
Copy link
Contributor

@misha130 misha130 commented Mar 21, 2020

Pull Request summary

Adds all the entities.
Adds all the configuration.
Scaffolded from - https://github.com/mcalexster/mcalex_codidact/blob/mcalex/skeleton/Database/Scripts/base/SchemaProposalCurrent_withGenCols.sql

After scaffolding I moved all the configuration files from the DbContext file to each separate configuration. I also added base classes to all the entities so to remove typos.

Also removed all redundant property renames from the configurations.

This took me around 4 hours so its not like you can delete everything back and scaffold it again.
This is why this is a draft.
Problem is the way I see it if I don't optimize it there is a lot of repeated code and redundant code.

Whats missing - Audit tables are not automatically filled on changes though this is fairly easy to do.

Link to Project Card/Issue

#18

Pull Request Tasklist

  • Pull request references an issue
  • Branch follows contributing guidelines format
  • Pull request targets the develop branch

@misha130 misha130 requested a review from ArtOfCode- March 21, 2020 02:42
Copy link
Contributor

@asynts asynts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refer to #49.

@misha130 misha130 marked this pull request as ready for review March 24, 2020 16:54
Copy link
Member

@ArtOfCode- ArtOfCode- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. One typo, then good to merge AFAIC.

src/Domain/Entities/Member.cs Outdated Show resolved Hide resolved
@ArtOfCode- ArtOfCode- merged commit dac9107 into codidact:develop Apr 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants