Class InternalComplexPropertyBuilder
- Namespace
- Microsoft.EntityFrameworkCore.Metadata.Internal
- Assembly
- Microsoft.EntityFrameworkCore.dll
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public class InternalComplexPropertyBuilder : InternalPropertyBaseBuilder<IConventionComplexPropertyBuilder, ComplexProperty>, IConventionComplexPropertyBuilder, IConventionPropertyBaseBuilder<IConventionComplexPropertyBuilder>, IConventionAnnotatableBuilder
- Inheritance
-
InternalComplexPropertyBuilder
- Implements
- Inherited Members
Constructors
InternalComplexPropertyBuilder(ComplexProperty, InternalModelBuilder)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public InternalComplexPropertyBuilder(ComplexProperty metadata, InternalModelBuilder modelBuilder)
Parameters
metadata
ComplexPropertymodelBuilder
InternalModelBuilder
Properties
ComplexTypeBuilder
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual InternalComplexTypeBuilder ComplexTypeBuilder { get; }
Property Value
This
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected override InternalComplexPropertyBuilder This { get; }
Property Value
Methods
CanSetIsRequired(bool?, ConfigurationSource?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual bool CanSetIsRequired(bool? required, ConfigurationSource? configurationSource)
Parameters
required
bool?configurationSource
ConfigurationSource?
Returns
Detach(ComplexProperty)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public static ComplexPropertySnapshot? Detach(ComplexProperty complexProperty)
Parameters
complexProperty
ComplexProperty
Returns
IsRequired(bool?, ConfigurationSource)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual InternalComplexPropertyBuilder? IsRequired(bool? required, ConfigurationSource configurationSource)
Parameters
required
bool?configurationSource
ConfigurationSource