Freigeben über


ModelContainerConvention.Apply-Methode

[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]

Wendet die Konvention auf das angegebene Modell an.

Namespace:  System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

Syntax

'Declaration
Public Overridable Sub Apply ( _
    item As EntityContainer, _
    model As DbModel _
)
'Usage
Dim instance As ModelContainerConvention 
Dim item As EntityContainer 
Dim model As DbModel

instance.Apply(item, model)
public virtual void Apply(
    EntityContainer item,
    DbModel model
)
public:
virtual void Apply(
    EntityContainer^ item, 
    DbModel^ model
)
abstract Apply : 
        item:EntityContainer * 
        model:DbModel -> unit  
override Apply : 
        item:EntityContainer * 
        model:DbModel -> unit
public function Apply(
    item : EntityContainer, 
    model : DbModel
)

Parameter

Implements

IConceptualModelConvention<T>.Apply(T, DbModel)

Siehe auch

Verweis

ModelContainerConvention Klasse

System.Data.Entity.Infrastructure-Namespace