StoreObjectIdentifier 結構
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
型別,表示存放區物件的識別碼
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct StoreObjectIdentifier : IComparable<Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier>, IEquatable<Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier>
[<System.Runtime.CompilerServices.IsReadOnly>]
type StoreObjectIdentifier = struct
Public Structure StoreObjectIdentifier
Implements IComparable(Of StoreObjectIdentifier), IEquatable(Of StoreObjectIdentifier)
- 繼承
-
StoreObjectIdentifier
- 屬性
- 實作
備註
如需詳細資訊和範例,請參閱 模型化實體類型和關聯 性。
屬性
| Name |
取得類似資料表的存放區物件名稱。 |
| Schema |
取得類似資料表的存放區物件架構。 |
| StoreObjectType |
取得類似資料表的存放區物件類型。 |
方法
| CompareTo(StoreObjectIdentifier) |
型別,表示存放區物件的識別碼 |
| Create(IEntityType, StoreObjectType) |
為指定的實體類型對應至 / > 的存放區物件建立識別碼。 |
| Create(IReadOnlyEntityType, StoreObjectType) |
為指定實體類型對應的存放區物件建立識別碼。 |
| Create(IReadOnlyTypeBase, StoreObjectType) |
為指定實體類型對應的存放區物件建立識別碼。 |
| DbFunction(String) |
建立函式識別碼。 |
| DeleteStoredProcedure(String, String) |
建立刪除預存程式識別碼。 |
| DisplayName() |
取得存放區物件的易記顯示名稱。 |
| Equals(Object) |
型別,表示存放區物件的識別碼 |
| Equals(StoreObjectIdentifier) |
型別,表示存放區物件的識別碼 |
| GetHashCode() |
型別,表示存放區物件的識別碼 |
| InsertStoredProcedure(String, String) |
建立插入預存程式識別碼。 |
| SqlQuery(IEntityType) |
使用 RelationalEntityTypeBuilderExtensions.ToSqlQuery 建立對應之 SQL 查詢的識別碼。 |
| SqlQuery(IReadOnlyEntityType) |
使用 RelationalEntityTypeBuilderExtensions.ToSqlQuery 建立對應之 SQL 查詢的識別碼。 |
| SqlQuery(String) |
建立 SQL 查詢識別碼。 |
| Table(String, String) |
建立資料表識別碼。 |
| ToString() |
型別,表示存放區物件的識別碼 |
| UpdateStoredProcedure(String, String) |
建立更新預存程式識別碼。 |
| View(String, String) |
建立檢視識別碼。 |
運算子
| Equality(StoreObjectIdentifier, StoreObjectIdentifier) |
比較一個識別碼與另一個識別碼,以查看它們是否代表相同的存放區物件。 |
| Inequality(StoreObjectIdentifier, StoreObjectIdentifier) |
比較一個識別碼與另一個識別碼,以查看它們是否代表相同的存放區物件。 |