RelationalModelValidator.ValidateSharedTriggerCompatibility 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
验证给定共享表中触发器的兼容性。
protected virtual void ValidateSharedTriggerCompatibility (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> mappedTypes, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
abstract member ValidateSharedTriggerCompatibility : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateSharedTriggerCompatibility : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IEntityType> * StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidateSharedTriggerCompatibility (mappedTypes As IReadOnlyList(Of IEntityType), storeObject As StoreObjectIdentifier, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))
参数
- mappedTypes
- IReadOnlyList<IEntityType>
映射的实体类型。
- storeObject
- StoreObjectIdentifier
存储对象的标识符。
要使用的记录器。