StoreObjectIdentifier Struct

Definition

A type that represents the id of a store object

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

Remarks

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

Properties

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

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

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