语言

RuntimeModel.ModelId 属性

定义

注意

This is set in the constructor now

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

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
[System.Obsolete("This is set in the constructor now")]
public virtual Guid ModelId { get; set; }
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public virtual Guid ModelId { get; set; }
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
[<System.Obsolete("This is set in the constructor now")>]
member this.ModelId : Guid with get, set
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
member this.ModelId : Guid with get, set
Public Overridable Property ModelId As Guid

属性值

特性

适用于