<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ahirasawa</author_name>
  <author_url>https://blog.hatena.ne.jp/ahirasawa/</author_url>
  <blog_title>UMLモデリングレッスン執筆日誌</blog_title>
  <blog_url>https://ahirasawa.hatenablog.com/</blog_url>
  <categories>
    <anon>永続</anon>
  </categories>
  <description>だいぶ遅くなってしまったが、連載第5回の記事で紹介した基本パターンの「イベントと在庫」のERモデルを説明する。（ERモデルを解説する理由については、以前のエントリ(id:ahirasawa:20050629)を参照していただきたい。）UMLのクラス図とベン図（＝変形オブジェクト図）表現は次の通り。ERモデルは次のようになる。「イベントと在庫」の典型的な例は、銀行預金の入出金である。イベント側の主キーには「口座番号」に加えて「SeqNO（シーケンス番号）」か「タイムスタンプ」を設定しておく。上記のモデルを描いてみたところで、RDBを永続記憶に採用している銀行勘定系システムはどれくらいあるのだろう…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fahirasawa.hatenablog.com%2Fentry%2F20051229%2Fp1&quot; title=&quot; ERモデリングレッスン7（イベントと在庫） - UMLモデリングレッスン執筆日誌&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/a/ahirasawa/20080114/20080114021211.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2005-12-29 00:00:00</published>
  <title> ERモデリングレッスン7（イベントと在庫）</title>
  <type>rich</type>
  <url>https://ahirasawa.hatenablog.com/entry/20051229/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
