<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dotnetmemo</author_name>
  <author_url>https://blog.hatena.ne.jp/dotnetmemo/</author_url>
  <blog_title>開発思考実験日記</blog_title>
  <blog_url>https://dotnetmemo.hatenadiary.org/</blog_url>
  <categories>
    <anon>モデリング</anon>
    <anon>DDD</anon>
  </categories>
  <description>販売注文エンティティの責務を分解して整理する 販売注文はイベント（トランザクション）系のエンティティです。対応するテーブルには状態値や区分や種類が含まれています。これらを責務を識別して分離することで1クラス1責務に近づけて安定化します。まずStatusがオブジェクトの状態を表しているのでサブクラスで表現しました。実装時に継承で実装するかは別ですが、サブクラスで表現することで特定の状態時に設定される項目を表現可能になります。今回、出荷日(ShipDate)がNULL可になっており、出荷時に設定されると推測されます。なお、状態を持っているエンティティは対応するイベントがあり、そのイベントが発生して…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdotnetmemo.hatenadiary.org%2Fentry%2F20090530%2F1243648613&quot; title=&quot;AdventureWorksをモデリングしてDDDしながらドメインモデルで実装してみる（１２） - 開発思考実験日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/d/dotnetmemo/20090530/20090530002419.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-05-30 10:56:53</published>
  <title>AdventureWorksをモデリングしてDDDしながらドメインモデルで実装してみる（１２）</title>
  <type>rich</type>
  <url>https://dotnetmemo.hatenadiary.org/entry/20090530/1243648613</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
