MutableModelExtensions.IsOwned(IMutableModel, Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a value indicating whether the entity types using the given type should be configured as owned types when discovered by conventions.
public static bool IsOwned (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, Type clrType);
public static bool IsOwned (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, Type type);
static member IsOwned : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * Type -> bool
static member IsOwned : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * Type -> bool
<Extension()>
Public Function IsOwned (model As IMutableModel, clrType As Type) As Boolean
<Extension()>
Public Function IsOwned (model As IMutableModel, type As Type) As Boolean
Parameters
- model
- IMutableModel
The model to get the value from.
- clrTypetype
- Type
The type of the entity type that might be owned.
Returns
true
if a matching entity type should be configured as owned when discovered,
false
otherwise.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework