語言

StoreObjectIdentifier 結構

定義

一個代表儲存物件 id 的型別

[System.Runtime.CompilerServices.IsReadOnly]
[System.Runtime.CompilerServices.Nullable(0)]
public readonly struct StoreObjectIdentifier : IComparable<Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier>, IEquatable<Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier>
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct StoreObjectIdentifier : IComparable<Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier>, IEquatable<Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier>
[<System.Runtime.CompilerServices.IsReadOnly>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type StoreObjectIdentifier = struct
[<System.Runtime.CompilerServices.IsReadOnly>]
type StoreObjectIdentifier = struct
Public Structure StoreObjectIdentifier
Implements IComparable(Of StoreObjectIdentifier), IEquatable(Of StoreObjectIdentifier)
繼承
StoreObjectIdentifier
屬性
實作

備註

更多資訊與範例請參閱 建模實體類型與關係 。

屬性

名稱 Description
Name

會取得類似資料表的儲存物件名稱。

Schema

取得類似資料表的儲存物件結構。

StoreObjectType

會取得類似資料表的儲存物件型態。

方法

名稱 Description
CompareTo(StoreObjectIdentifier)

一個代表儲存物件 id 的型別

Create(IEntityType, StoreObjectType)

為該實體類型映射到的儲存物件建立一個 ID>。

Create(IReadOnlyEntityType, StoreObjectType)

為該實體類型映射的儲存物件建立一個 ID。

Create(IReadOnlyTypeBase, StoreObjectType)

為該實體類型映射的儲存物件建立一個 ID。

DbFunction(String)

建立一個函式 ID。

DeleteStoredProcedure(String, String)

建立一個刪除儲存程序 ID。

DisplayName()

會取得商店物件的友善顯示名稱。

Equals(Object)

一個代表儲存物件 id 的型別

Equals(StoreObjectIdentifier)

一個代表儲存物件 id 的型別

GetHashCode()

一個代表儲存物件 id 的型別

InsertStoredProcedure(String, String)

建立一個插入儲存程序 ID。

SqlQuery(IEntityType)

為使用 RelationalEntityTypeBuilderExtensions.ToSqlQueryS 映射的 SQL 查詢建立一個 ID。

SqlQuery(IReadOnlyEntityType)

為使用 RelationalEntityTypeBuilderExtensions.ToSqlQueryS 映射的 SQL 查詢建立一個 ID。

SqlQuery(String)

建立一個 SQL 查詢 ID。

Table(String, String)

建立一個資料表 ID。

ToString()

一個代表儲存物件 id 的型別

UpdateStoredProcedure(String, String)

建立一個更新儲存程序 ID。

View(String, String)

建立一個檢視 ID。

運算子

名稱 Description
Equality(StoreObjectIdentifier, StoreObjectIdentifier)

比較一個 id 與另一個 id,以判斷它們是否代表相同的儲存物件。

Inequality(StoreObjectIdentifier, StoreObjectIdentifier)

比較一個 id 與另一個 id,以判斷它們是否代表相同的儲存物件。

適用於