Method ShouldBeOwned
- Namespace
- MongoDB.EntityFrameworkCore.Metadata.Conventions
- Assembly
- MongoDB.EntityFrameworkCore.dll
ShouldBeOwned(Type, IConventionModel)
Returns a value indicating whether the given entity type should be added as owned if it isn't currently in the model.
protected override bool? ShouldBeOwned(Type targetType, IConventionModel model)
Parameters
targetType
TypeTarget entity type.
model
IConventionModelThe model.