SqlServerMetadataExtensions SqlServerMetadataExtensions Class

Definition

SQL Server specific extension methods for metadata.

public static class SqlServerMetadataExtensions
Public Module SqlServerMetadataExtensions
Inheritance
System.ObjectSystem.Object
SqlServerMetadataExtensionsSqlServerMetadataExtensions

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

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

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

SqlServer(IEntityType) SqlServer(IEntityType)

Gets the SQL Server specific metadata for an entity.

public static ISqlServerEntityTypeAnnotations SqlServer(this IEntityType entityType)
<ExtensionAttribute>
Public Shared Function SqlServer(entityType As IEntityType) As ISqlServerEntityTypeAnnotations
Parameters
entityType
IEntityType IEntityType

The entity to get metadata for.

Returns

The SQL Server specific metadata for the entity.

SqlServer(IForeignKey) SqlServer(IForeignKey)

Gets the SQL Server specific metadata for a foreign key.

public static IRelationalForeignKeyAnnotations SqlServer(this IForeignKey foreignKey)
<ExtensionAttribute>
Public Shared Function SqlServer(foreignKey As IForeignKey) As IRelationalForeignKeyAnnotations
Parameters
foreignKey
IForeignKey IForeignKey

The foreign key to get metadata for.

Returns

The SQL Server specific metadata for the foreign key.

SqlServer(IIndex) SqlServer(IIndex)

Gets the SQL Server specific metadata for an index.

public static ISqlServerIndexAnnotations SqlServer(this IIndex index)
<ExtensionAttribute>
Public Shared Function SqlServer(index As IIndex) As ISqlServerIndexAnnotations
Parameters
index
IIndex IIndex

The index to get metadata for.

Returns

The SQL Server specific metadata for the index.

SqlServer(IKey) SqlServer(IKey)

Gets the SQL Server specific metadata for a key.

public static ISqlServerKeyAnnotations SqlServer(this IKey key)
<ExtensionAttribute>
Public Shared Function SqlServer(key As IKey) As ISqlServerKeyAnnotations
Parameters
key
IKey IKey

The key to get metadata for.

Returns

The SQL Server specific metadata for the key.

SqlServer(IModel) SqlServer(IModel)

Gets the SQL Server specific metadata for a model.

public static ISqlServerModelAnnotations SqlServer(this IModel model)
<ExtensionAttribute>
Public Shared Function SqlServer(model As IModel) As ISqlServerModelAnnotations
Parameters
model
IModel IModel

The model to get metadata for.

Returns

The SQL Server specific metadata for the model.

SqlServer(IMutableEntityType) SqlServer(IMutableEntityType)

Gets the SQL Server specific metadata for an entity.

public static SqlServerEntityTypeAnnotations SqlServer(this IMutableEntityType entityType)
<ExtensionAttribute>
Public Shared Function SqlServer(entityType As IMutableEntityType) As SqlServerEntityTypeAnnotations
Parameters
entityType
IMutableEntityType IMutableEntityType

The entity to get metadata for.

Returns

The SQL Server specific metadata for the entity.

SqlServer(IMutableForeignKey) SqlServer(IMutableForeignKey)

Gets the SQL Server specific metadata for a foreign key.

public static RelationalForeignKeyAnnotations SqlServer(this IMutableForeignKey foreignKey)
<ExtensionAttribute>
Public Shared Function SqlServer(foreignKey As IMutableForeignKey) As RelationalForeignKeyAnnotations
Parameters
foreignKey
IMutableForeignKey IMutableForeignKey

The foreign key to get metadata for.

Returns

The SQL Server specific metadata for the foreign key.

SqlServer(IMutableIndex) SqlServer(IMutableIndex)

Gets the SQL Server specific metadata for an index.

public static SqlServerIndexAnnotations SqlServer(this IMutableIndex index)
<ExtensionAttribute>
Public Shared Function SqlServer(index As IMutableIndex) As SqlServerIndexAnnotations
Parameters
index
IMutableIndex IMutableIndex

The index to get metadata for.

Returns

The SQL Server specific metadata for the index.

SqlServer(IMutableKey) SqlServer(IMutableKey)

Gets the SQL Server specific metadata for a key.

public static SqlServerKeyAnnotations SqlServer(this IMutableKey key)
<ExtensionAttribute>
Public Shared Function SqlServer(key As IMutableKey) As SqlServerKeyAnnotations
Parameters
key
IMutableKey IMutableKey

The key to get metadata for.

Returns

The SQL Server specific metadata for the key.

SqlServer(IMutableModel) SqlServer(IMutableModel)

Gets the SQL Server specific metadata for a model.

public static SqlServerModelAnnotations SqlServer(this IMutableModel model)
<ExtensionAttribute>
Public Shared Function SqlServer(model As IMutableModel) As SqlServerModelAnnotations
Parameters
model
IMutableModel IMutableModel

The model to get metadata for.

Returns

The SQL Server specific metadata for the model.

SqlServer(IMutableProperty) SqlServer(IMutableProperty)

Gets the SQL Server specific metadata for a property.

public static SqlServerPropertyAnnotations SqlServer(this IMutableProperty property)
<ExtensionAttribute>
Public Shared Function SqlServer(property As IMutableProperty) As SqlServerPropertyAnnotations
Parameters
property
IMutableProperty IMutableProperty

The property to get metadata for.

Returns

The SQL Server specific metadata for the property.

SqlServer(IProperty) SqlServer(IProperty)

Gets the SQL Server specific metadata for a property.

public static ISqlServerPropertyAnnotations SqlServer(this IProperty property)
<ExtensionAttribute>
Public Shared Function SqlServer(property As IProperty) As ISqlServerPropertyAnnotations
Parameters
property
IProperty IProperty

The property to get metadata for.

Returns

The SQL Server specific metadata for the property.

ToString() ToString()

Inherited from System.Object