Database Guy Asks: Object-Oriented Design Theory?

前端 未结 14 606
深忆病人
深忆病人 2021-02-04 20:34

I\'ve worked with designing databases for a loooong time, and these days I\'m working in C# too. OO makes sense to me, but I don\'t feel that I have a good grounding in the dee

14条回答
  •  清歌不尽
    2021-02-04 21:07

    If you're used to building normalized databases, then Object Oriented design should come naturally to you. Your class structures will end up looking a lot like your data structure, with the obvious exception that association tables turn into lists and lookup tables turn into enums within your classes.

    All together, I'd say you're a lot better off coming into OO design with a background in Relational Databases than you would be going the other direction.

提交回复
热议问题