Поделиться через


EntityContainerMapping Конструктор

Определение

Инициализирует новый экземпляр EntityContainerMapping.

public EntityContainerMapping(System.Data.Entity.Core.Metadata.Edm.EntityContainer conceptualEntityContainer, System.Data.Entity.Core.Metadata.Edm.EntityContainer storeEntityContainer, System.Data.Entity.Core.Mapping.StorageMappingItemCollection mappingItemCollection, bool generateUpdateViews);
new System.Data.Entity.Core.Mapping.EntityContainerMapping : System.Data.Entity.Core.Metadata.Edm.EntityContainer * System.Data.Entity.Core.Metadata.Edm.EntityContainer * System.Data.Entity.Core.Mapping.StorageMappingItemCollection * bool -> System.Data.Entity.Core.Mapping.EntityContainerMapping
Public Sub New (conceptualEntityContainer As EntityContainer, storeEntityContainer As EntityContainer, mappingItemCollection As StorageMappingItemCollection, generateUpdateViews As Boolean)

Параметры

conceptualEntityContainer
EntityContainer

Концептуальный контейнер сущности, который необходимо сопоставить.

storeEntityContainer
EntityContainer

Контейнер сущности хранилища для сопоставления.

mappingItemCollection
StorageMappingItemCollection

Родительская коллекция элементов сопоставления.

generateUpdateViews
Boolean

Флаг, указывающий, следует ли создавать представления обновления.

Применяется к