Udemyallja

EntityFrameworkCore【C#】

Learn C# and EF Core for database operations. Master DB-first and code-first approaches. Practical skills for data access.

4.5(134)
1,017students
5h 12m
Certificate
ピーコック アンダーソン
ピーコック アンダーソンC#,プログラミング,SQL

Course Content

EntityFrameworkCore【C#】 is an all-levels Udemy course taught by ピーコック アンダーソン. It runs 5h 12m, is taught in Japanese, and includes a certificate of completion. Learners rate it 4.5 out of 5 from 134 reviews, with 1,017 students enrolled. It is a paid course, last updated November 2024.

このコースでは、C#とEntityFrameworkCoreを使ってデータベース操作の基礎をマスターします。

EntityFrameworkCoreとは、オブジェクトリレーショナルマッパー (ORM)の一種で、SQLを使わずにオブジェクトを操作することでデータベースにアクセスできる強力なツールです。

前半では、データベースファーストのアプローチで、既存のデータベースにEntityFrameworkCoreを接続し、データアクセスを行う方法を学びます。具体的な内容として、以下の機能を解説します。

  • 検索処理:
    • Where句による条件絞り込み
    • OrderBy句による並び替え
    • Like検索によるパターンマッチング
    • クエリ構文の活用
  • テーブル結合:
    • 基本的なJoin操作
    • Include/ThenIncludeを使ったオブジェクト指向的な結合(無駄のない結合)
  • データ更新:
    • Insert (データの挿入)
    • Update (データの更新)
    • Delete (データの削除)
    • トランザクションによるデータの整合性確保

後半では、コードファーストのアプローチとして、マイグレーション機能を使ってデータベースをC#のオブジェクトの形で作成する方法を解説します。マイグレーションを使用することで、オブジェクトを先に定義し、それに合わせてデータベースを自動的に作成できます。

このコースを修了すると、EntityFrameworkCoreの基本的な操作を習得し、C#アプリケーションにおけるデータベース連携をスムーズに行えるようになります。EntityFrameworkCoreを学びたい方、データベース操作を効率化したい方にとって、非常に役立つ内容です。ぜひご参加ください!

$ whoami — the devs behind tutorialsearch.io

Need a web app built? Hire the team behind TutorialSearch.io

We ship fast, production-grade full-stack apps (Next.js, React, edge infra) — the same stack that powers this site.