NonNullableConventionBase.IsNonNullableReferenceType 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 member type is a non-nullable reference type.
protected virtual bool IsNonNullableReferenceType (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder modelBuilder, System.Reflection.MemberInfo memberInfo);
abstract member IsNonNullableReferenceType : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * System.Reflection.MemberInfo -> bool
override this.IsNonNullableReferenceType : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * System.Reflection.MemberInfo -> bool
Protected Overridable Function IsNonNullableReferenceType (modelBuilder As IConventionModelBuilder, memberInfo As MemberInfo) As Boolean
Parameters
- modelBuilder
- IConventionModelBuilder
The model builder used to build the model.
- memberInfo
- MemberInfo
The member info.
Returns
true
if the member type is a non-nullable reference type.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for