DDD using an ORM and a Active Directory Server for Persistence
With Domain Driven Design
one would model out the domain. One would then use an ORM
of some sort to take care of the persistence. Say you have a Product
entity which has a Name
, SKU
and an Owner
. This will be modelled and when a new Product
gets created you need to pass in all 3 fields as parameters into the constructor.
How do I do SQL Server mapping with a new Desktop application written in C#? [closed]
Closed 9 years ago.
How do I do SQL Server mapping with a new Desktop application written in C#? [closed]
Closed 9 years ago.
How do I do SQL Server mapping with a new Desktop application written in C#? [closed]
Closed 9 years ago.
How do I do SQL Server mapping with a new Desktop application written in C#? [closed]
Closed 9 years ago.
How do I do SQL Server mapping with a new Desktop application written in C#? [closed]
Closed 9 years ago.
What’s the correct approach to DAO layer in presence of ORM framework
I’m using JPA/Hibernate but probably it doesn’t limit question.
How can I model unknown and an unknown number of attributes on an object?
My example might be slightly contrived, because I’ve modified it so that the project isn’t recognizable by my employer. I’m a newer developer at a very small company.
Why does ORM persist() functionality use references to populate insert_id and not return?
My understanding of how ORM persist
works:
Role based Database Schema
I am designing a database for a document management app for my office. I want to get the backend right so I don’t have issues in the future. Basically all users will be categorized into roles e.g, super admin, admin, staff and interns. All documents will have access restrictions e.g public(all user roles can view the document), private (only user who created it can view), role-based(this means only users with the same roles can view these documents). However, Admins and super admins can view all documents. One user can have many documents. Also user roles can be updated e.g from staff to admin etc. I will be using Postgres with Sequelize as my ORM for this project. Based on the description above, is this a good design? What can be improved? Any inputs will be appreciated.