Class BsonGuidRepresentationAttributeConvention
- Assembly
- MongoDB.EntityFrameworkCore.dll
Recognize MongoDB.Bson.Serialization.Attributes.BsonGuidRepresentationAttribute when applied to properties of an entity to ensure the model will throw as the attribute is not supported in the EF provider.
public sealed class BsonGuidRepresentationAttributeConvention : NotSupportedPropertyAttributeConvention<BsonGuidRepresentationAttribute>, IPropertyAddedConvention, IPropertyFieldChangedConvention, IConvention
- Inheritance
-
PropertyAttributeConventionBase<BsonGuidRepresentationAttribute>NotSupportedPropertyAttributeConvention<BsonGuidRepresentationAttribute>BsonGuidRepresentationAttributeConvention
- Implements
- Inherited Members
Constructors
- BsonGuidRepresentationAttributeConvention(ProviderConventionSetBuilderDependencies)
Recognize MongoDB.Bson.Serialization.Attributes.BsonGuidRepresentationAttribute when applied to properties of an entity to ensure the model will throw as the attribute is not supported in the EF provider.