IClrPropertyGetter.HasSentinelUsingContainingEntity(Object) 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.
Checks whether or not the property is set to the CLR default for its type.
public bool HasSentinelUsingContainingEntity (object entity);
abstract member HasSentinelUsingContainingEntity : obj -> bool
Public Function HasSentinelUsingContainingEntity (entity As Object) As Boolean
Parameters
- entity
- Object
The entity instance.
Returns
true
if the property value is the CLR default; false
it is any other value.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework