Share via


SqlServerEventId.MissingViewDefinitionRightsWarning Field

Definition

The database user has not been granted 'VIEW DEFINITION' rights. Scaffolding requires these rights to construct the Entity Framework model correctly. Without these rights, parts of the scaffolded model may be missing, resulting in incorrect interactions between Entity Framework and the database at runtime.

public static readonly Microsoft.Extensions.Logging.EventId MissingViewDefinitionRightsWarning;
 staticval mutable MissingViewDefinitionRightsWarning : Microsoft.Extensions.Logging.EventId
Public Shared ReadOnly MissingViewDefinitionRightsWarning As EventId 

Field Value

Remarks

This event is in the DbLoggerCategory.Scaffolding category.

Applies to