IClrPropertyGetter.HasSentinel(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 HasSentinel (object structuralObject);
abstract member HasSentinel : obj -> bool
Public Function HasSentinel (structuralObject As Object) As Boolean
Parameters
- structuralObject
- Object
The entity or complex type 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