共用方式為


SchemaNamedKey<T> Class

Definition

The composite string schema and name key for an instance class.

public class SchemaNamedKey<T> : Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey, IEquatable<Microsoft.SqlServer.Management.Sdk.Sfc.SchemaNamedKey<T>> where T : SfcInstance
type SchemaNamedKey<'T (requires 'T :> SfcInstance)> = class
    inherit SfcKey
    interface IEquatable<SchemaNamedKey<'T>>
Public Class SchemaNamedKey(Of T)
Inherits SfcKey
Implements IEquatable(Of SchemaNamedKey(Of T))

Type Parameters

T
Inheritance
SchemaNamedKey<T>
Implements

Constructors

SchemaNamedKey<T>()

Default constructor for a schema name key

SchemaNamedKey<T>(IDictionary<String,Object>)

Construct a schema name key from a field dictionary.

SchemaNamedKey<T>(SchemaNamedKey<T>)

Construct a schema name key from another schema name key.

SchemaNamedKey<T>(String, String)

Construct a schema name key from strings.

SchemaNamedKey<T>(String)

Construct a schema name key from a name string and default schema.

Properties

InstanceType

The instance type which this key represents.

Name

The name key value.

Schema

The schema key value.

UrnName

The Urn level name corresponding to the instance type which this key respresents. It is normally the instance type class name. Overriding this typically is done with typeof(T).urnName or similar.

Methods

Equals(Object, Object)

Equals static operator for a key.

Equals(Object)

Compare a schema name key to this key for value equality.

Equals(SchemaNamedKey<T>)

Compare a schema name key to this key for value equality.

Equals(SfcKey)

Compare a schema name key to this key for value equality.

GetHashCode()

Generate a hash code for the key.

GetUrnFragment()

The Urn level fragment obtains its name from the key schema and name properties by default. Override in a derived key class if you need a different fragment format.

ToString()

The string value for the key.

Operators

Equality(SchemaNamedKey<T>, SchemaNamedKey<T>)

Compare two keys for value equality.

Inequality(SchemaNamedKey<T>, SchemaNamedKey<T>)

Compare two keys for value inequality.

Applies to