Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

StoreObjectIdentifier Struct

Definition

Namespace:
Microsoft.EntityFrameworkCore.Metadata
Assembly:
Microsoft.EntityFrameworkCore.Relational.dll
Package:
Microsoft.EntityFrameworkCore.Relational v10.0.0
Package:
Microsoft.EntityFrameworkCore.Relational v5.0.0
Package:
Microsoft.EntityFrameworkCore.Relational v6.0.0
Package:
Microsoft.EntityFrameworkCore.Relational v7.0.0
Package:
Microsoft.EntityFrameworkCore.Relational v8.0.0
Package:
Microsoft.EntityFrameworkCore.Relational v9.0.0
Source:
StoreObjectIdentifier.cs
Source:
StoreObjectIdentifier.cs
Source:
StoreObjectIdentifier.cs
Source:
StoreObjectIdentifier.cs
Source:
StoreObjectIdentifier.cs
Source:
StoreObjectIdentifier.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

A type that represents the id of a store object

[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)
Inheritance
StoreObjectIdentifier
Attributes
Implements

Remarks

See Modeling entity types and relationships for more information and examples.

Properties

Name Description
Name

Gets the table-like store object name.

Schema

Gets the table-like store object schema.

StoreObjectType

Gets the table-like store object type.

Methods

Name Description
CompareTo(StoreObjectIdentifier)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

Create(IEntityType, StoreObjectType)

Creates an id for the store object that the given entity type is mapped to />.

Create(IReadOnlyEntityType, StoreObjectType)

Creates an id for the store object that the given entity type is mapped to.

Create(IReadOnlyTypeBase, StoreObjectType)

Creates an id for the store object that the given entity type is mapped to.

DbFunction(String)

Creates a function id.

DeleteStoredProcedure(String, String)

Creates a delete stored procedure id.

DisplayName()

Gets the friendly display name for the store object.

Equals(Object)

Indicates whether this instance and a specified object are equal.

Equals(StoreObjectIdentifier)

Indicates whether the current object is equal to another object of the same type.

GetHashCode()

Returns the hash code for this instance.

InsertStoredProcedure(String, String)

Creates an insert stored procedure id.

SqlQuery(IEntityType)

Creates an id for the SQL query mapped using RelationalEntityTypeBuilderExtensions.ToSqlQuery.

SqlQuery(IReadOnlyEntityType)

Creates an id for the SQL query mapped using RelationalEntityTypeBuilderExtensions.ToSqlQuery.

SqlQuery(String)

Creates a SQL query id.

Table(String, String)

Creates a table id.

ToString()

Returns the fully qualified type name of this instance.

UpdateStoredProcedure(String, String)

Creates an update stored procedure id.

View(String, String)

Creates a view id.

Operators

Name Description
Equality(StoreObjectIdentifier, StoreObjectIdentifier)

Compares one id to another id to see if they represent the same store object.

Inequality(StoreObjectIdentifier, StoreObjectIdentifier)

Compares one id to another id to see if they represent the same store object.

Applies to


Feedback

Was this page helpful?