ADO.NET Provider for LinkedIn

Build 25.0.9435

EF Core コンソールアプリケーション

データモデルの作成

アプリケーションのコンテキストクラスとエンティティクラスを作成するには、2つのアプローチがあります。 コードファーストアプローチ アプローチを使用して、クラスを手動で書くことでモデルを細かく調整できます。 あるいは、リバースエンジニアリング(Scaffolding) を使用してLinkedIn スキーマからこれらのクラスを自動生成することもできます。

コードでLINQ コマンドを実行

EF Core をセットアップしてLinkedIn プロバイダーを登録すると、LINQ を使用してデータのクエリを開始できます。

using System.Linq;
using MySolutionName.Models;

LinkedInContext ents = new LinkedInContext();
var CompanyStatusUpdatesQuery = from CompanyStatusUpdates in ents.CompanyStatusUpdates
                   orderby CompanyStatusUpdates.Comment
                   select CompanyStatusUpdates;

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9435