RuntimePropertyBase.SetAccessors(PropertyAccessors) 方法

定义

这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,恕不另行通知。 应仅在代码中直接使用它,并且非常谨慎,并且知道在更新到新的 Entity Framework Core 版本时,这样做可能会导致应用程序失败。

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public virtual void SetAccessors (Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyAccessors accessors);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member SetAccessors : Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyAccessors -> unit
override this.SetAccessors : Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyAccessors -> unit
Public Overridable Sub SetAccessors (accessors As PropertyAccessors)

参数

accessors
Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyAccessors
属性

适用于