次の方法で共有


EntityContainerMapping クラス

定義

CS 空間内の EntityContainer マップのマッピング メタデータを表します。 CS マッピング用の MSL ファイルでは、EntityContainerMapping 要素を 1 つだけ使用できます。

public class EntityContainerMapping : System.Data.Entity.Core.Mapping.MappingBase
type EntityContainerMapping = class
    inherit MappingBase
Public Class EntityContainerMapping
Inherits MappingBase
継承
EntityContainerMapping

たとえば、概念的には CS MSL ファイルを次のように表すことができる場合---Mapping --EntityContainerMapping ( CNorthwind-->SNorthwind ) --EntitySetMapping --AssociationSetMapping 型は、上記の例の EntityContainerMapping 要素のメタデータを表します。 EntityContainerMapping 要素の子である EntitySetBaseMapping 要素には、この型のプロパティを使用してアクセスできます。

注釈

現在、C 側のエンティティ コンテナーは、S - 空間の 1 つのエンティティ コンテナーにマップされていると想定しています。

コンストラクター

EntityContainerMapping(EntityContainer, EntityContainer, StorageMappingItemCollection, Boolean)

新しい EntityContainerMapping インスタンスを初期化します。

プロパティ

AssociationSetMappings

関連付けセットのマッピングを取得します。

BuiltInTypeKind

この項目の型の種類を取得します

ConceptualEntityContainer

概念エンティティ コンテナーを取得します。

Documentation

この型に関連付けられているドキュメントを取得または設定します。

(継承元 MetadataItem)
EntitySetMappings

エンティティ セットマッピングを取得します。

FunctionImportMappings

関数のインポート マッピングを取得します。

GenerateUpdateViews

更新ビューを生成するかどうかを示すフラグを取得します。

MappingItemCollection

親マッピング項目コレクションを取得します。

MetadataProperties

現在の型のプロパティの一覧を取得します。

(継承元 MetadataItem)
StoreEntityContainer

ストア エンティティ コンテナーを取得します。

メソッド

AddAnnotation(String, Object)

指定した名前と値を使用して注釈を追加または更新します。

(継承元 MetadataItem)
AddFunctionImportMapping(FunctionImportMapping)

関数インポート マッピングを追加します。

AddSetMapping(AssociationSetMapping)

関連付けセットマッピングを追加します。

AddSetMapping(EntitySetMapping)

エンティティ セットマッピングを追加します。

RemoveAnnotation(String)

指定した名前の注釈を削除します。

(継承元 MetadataItem)
RemoveFunctionImportMapping(FunctionImportMapping)

関数インポート マッピングを削除します。

RemoveSetMapping(AssociationSetMapping)

関連付けセットのマッピングを削除します。

RemoveSetMapping(EntitySetMapping)

関連付けセットのマッピングを削除します。

適用対象