EntityFrameworkCore.PrimaryKey 延伸模組EntityFrameworkCore.PrimaryKey Extension

注意

這項擴充功能不會保留為 Entity Framework Core 專案的一部分。This extension is not maintained as part of the Entity Framework Core project. 考慮第三方擴充功能,請務必評估品質、 授權、 支援等以確保它們符合您的需求。When considering a third party extension, be sure to evaluate quality, licensing, support, etc. to ensure they meet your requirements.

擷取的任何實體的主索引鍵 (包含複合索引鍵) 做為字典。Retrieve the primary key (including composite keys) from any entity as a dictionary.

下列資源將協助您開始使用 EntityFrameworkCore.PrimaryKey。The following resource will help you get started with EntityFrameworkCore.PrimaryKey.