Code Monkey home page Code Monkey logo

senvardarsemih / generic-for-core Goto Github PK

View Code? Open in Web Editor NEW
66.0 66.0 16.0 833 KB

:building_construction: Generic Repository & UOW Pattern For ASP.NET Core

License: GNU General Public License v3.0

C# 67.90% CSS 3.11% JavaScript 0.08% HTML 23.72% Dockerfile 5.18%
asp-net-core design-patterns docker dotnet-core entity-framework-core generic generic-repository k8s mvc net-core-3-0 net-core-3-1 net-standard repository-pattern unit-test uow uow-pattern

generic-for-core's Introduction

generic-for-core's People

Contributors

dependabot[bot] avatar senvardarsemih avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

generic-for-core's Issues

Narrative Contributor Role

Зараз у нас в БД все ось так, як на малюнку, але проблема в тому, що якщо наш контрібутор є і автором якихось творів, і, одночасно перекладачем якихось інших творів, то при спробі зрозуміти ким він є для певного твору, ми отримаємо тільки перелік всіх його ролей за весь час.

Що я придумав: створити ентіті NarrativeContributorRole , де буде комбінований primary key з трьох айдішників. Але тоді вилазить інший костиль. Якщо подивитися як все структуровано зараз, то ми можемо в BLL забов'язати вказання ролі для контрібутора, щоб у нас в базі не лежав запиc про "просто людину". Також ми легко можемо реалізувати обмеження на створення твору: будь-який твір повинен мати автора. Але при реалізації через NarrativeContributorRole виникає конфлікт: щоб створити контрібутора повинен бути неретів, а щоб створити неретів потрібно вказати контрібутора з роллю "Автор". Ми не зможемо створити запис.

Знімок екрана 2024-05-17 154538

ContextFactory Connectionstring issue

Hi,
I got the DefaultConnection value as null in ContextFactory class, but i have kept the ConnectionStrings' DefaultConnection value in both appsettings and appsettings.development.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.