Share via


RelationalStrings.ComplexPropertyOptionalTableSharing(Object, Object) Method

Definition

The optional complex property '{type}.{property}' is mapped to columns by flattening the contained properties into its container's table; this mapping requires at least one required property - to allow distinguishing between 'null' and empty values - but the complex type contains only optional properties. Configure the property with a shadow discriminator by adding a call to 'HasDiscriminator()' on the complex property configuration, or map this complex property to a JSON column instead.

public static string ComplexPropertyOptionalTableSharing(object? type, object? property);
static member ComplexPropertyOptionalTableSharing : obj * obj -> string
Public Shared Function ComplexPropertyOptionalTableSharing (type As Object, property As Object) As String

Parameters

type
Object
property
Object

Returns

Applies to