SchemaNamedKey<T> SchemaNamedKey<T> 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>SchemaNamedKey<T>SchemaNamedKey<T>
Implements

Constructors

SchemaNamedKey<T>() SchemaNamedKey<T>() SchemaNamedKey<T>()

Default constructor for a schema name key

SchemaNamedKey<T>(SchemaNamedKey<T>) SchemaNamedKey<T>(SchemaNamedKey<T>) SchemaNamedKey<T>(SchemaNamedKey<T>)

Construct a schema name key from another schema name key.

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

Construct a schema name key from a field dictionary.

SchemaNamedKey<T>(String) SchemaNamedKey<T>(String) SchemaNamedKey<T>(String)

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

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

Construct a schema name key from strings.

Properties

InstanceType InstanceType InstanceType

The instance type which this key represents.

Name Name Name

The name key value.

Schema Schema Schema

The schema key value.

UrnName UrnName 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) Equals(Object) Equals(Object)

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

Equals(Object, Object) Equals(Object, Object) Equals(Object, Object)

Equals static operator for a key.

Equals(SchemaNamedKey<T>) Equals(SchemaNamedKey<T>) Equals(SchemaNamedKey<T>)

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

Equals(SfcKey) Equals(SfcKey) Equals(SfcKey)

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

GetHashCode() GetHashCode() GetHashCode()

Generate a hash code for the key.

GetUrnFragment() GetUrnFragment() 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() ToString() ToString()

The string value for the key.

Operators

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

Compare two keys for value equality.

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

Compare two keys for value inequality.

Applies to