<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>thinkAmi</author_name>
  <author_url>https://blog.hatena.ne.jp/thinkAmi/</author_url>
  <blog_title>メモ的な思考的な</blog_title>
  <blog_url>https://thinkami.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>EntityFramework Core</anon>
  </categories>
  <description>EntityFramework Core (以降、EF Core)のドキュメントを見ていたところ、C#8.0以降のnull許容参照型機能により、NOT NULL制約の付き方が変わるようでした。 必須およびオプションのプロパティ-EF Core | Microsoft Docs そこで今回、null許容参照型機能の有効・無効ごとに、どんな感じになるのかを試してみました。 目次 環境 null許容参照型に対する設定について プロジェクトファイル (*.csproj) での設定 nullableディレクティブの場合 用意したモデルコード null許容参照型機能を無効にしたままの場合(デフォルト) n…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthinkami.hatenablog.com%2Fentry%2F2019%2F12%2F19%2F232957&quot; title=&quot;EntityFramework Core 3.1 にて、null許容参照型機能の有効・無効ごとに、NOT NULL制約の状況を確認してみた - メモ的な思考的な&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/t/thinkAmi/20191219/20191219231529.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-12-19 23:29:57</published>
  <title>EntityFramework Core 3.1 にて、null許容参照型機能の有効・無効ごとに、NOT NULL制約の状況を確認してみた</title>
  <type>rich</type>
  <url>https://thinkami.hatenablog.com/entry/2019/12/19/232957</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
