SqlServerStrings SqlServerStrings Class

Definition

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public static class SqlServerStrings
Public Module SqlServerStrings
Inheritance
System.ObjectSystem.Object
SqlServerStringsSqlServerStrings

Properties

AlterIdentityColumn AlterIdentityColumn

To change the IDENTITY property of a column, the column needs to be dropped and recreated.

public static string AlterIdentityColumn { get; }
Public Shared ReadOnly Property AlterIdentityColumn As String
Value
System.String System.String

AlterMemoryOptimizedTable AlterMemoryOptimizedTable

To set memory-optimized on a table on or off the table needs to be dropped and recreated.

public static string AlterMemoryOptimizedTable { get; }
Public Shared ReadOnly Property AlterMemoryOptimizedTable As String
Value
System.String System.String

IndexTableRequired IndexTableRequired

SQL Server requires the table name to be specified for rename index operations. Specify table name in the call to MigrationBuilder.RenameIndex.

public static string IndexTableRequired { get; }
Public Shared ReadOnly Property IndexTableRequired As String
Value
System.String System.String

TransientExceptionDetected TransientExceptionDetected

An exception has been raised that is likely due to a transient failure. If you are connecting to a SQL Azure database consider using SqlAzureExecutionStrategy.

public static string TransientExceptionDetected { get; }
Public Shared ReadOnly Property TransientExceptionDetected As String
Value
System.String System.String

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

IdentityBadType(Object, Object, Object) IdentityBadType(Object, Object, Object)

Identity value generation cannot be used for the property '{property}' on entity type '{entityType}' because the property type is '{propertyType}'. Identity value generation can only be used with signed integer properties.

public static string IdentityBadType(object property, object entityType, object propertyType)
Public Shared Function IdentityBadType(property As Object, entityType As Object, propertyType As Object) As String
Parameters
property
System.Object System.Object
entityType
System.Object System.Object
propertyType
System.Object System.Object
Returns
System.String System.String

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

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

Inherited from System.Object

SequenceBadType(Object, Object, Object) SequenceBadType(Object, Object, Object)

SQL Server sequences cannot be used to generate values for the property '{property}' on entity type '{entityType}' because the property type is '{propertyType}'. Sequences can only be used with integer properties.

public static string SequenceBadType(object property, object entityType, object propertyType)
Public Shared Function SequenceBadType(property As Object, entityType As Object, propertyType As Object) As String
Parameters
property
System.Object System.Object
entityType
System.Object System.Object
propertyType
System.Object System.Object
Returns
System.String System.String

ToString() ToString()

Inherited from System.Object

UnqualifiedDataType(Object) UnqualifiedDataType(Object)

Data type '{dataType}' is not supported in this form. Either specify the length explicitly in the type name, for example as '{dataType}(16)', or remove the data type and use APIs such as HasMaxLength to allow EF choose the data type.

public static string UnqualifiedDataType(object dataType)
Public Shared Function UnqualifiedDataType(dataType As Object) As String
Parameters
dataType
System.Object System.Object
Returns
System.String System.String