RelationalDesignStrings RelationalDesignStrings Class

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.

Syntax

Declaration

public static class RelationalDesignStringsPublic Module RelationalDesignStrings

Inheritance Hierarchy

  • System.Object
    System.Object
  • RelationalDesignStrings
    RelationalDesignStrings

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Properties summary

Cannot scaffold the connection string. The "UseProviderMethodName" is missing from the scaffolding model.

Sequence name cannot be null or empty. Entity Framework cannot model a sequence that does not have a name.

Methods summary

For sequence '{sequenceName}'. Unable to scaffold because it uses an unsupported type: '{typeName}'.

Could not find type mapping for column '{columnName}' with data type '{dateType}'. Skipping column.

The following file(s) already exist in directory {outputDirectoryName}: {existingFiles}. Use the Force flag to overwrite these files.

Could not scaffold the foreign key '{foreignKeyName}'. A key for '{columnsList}' was not found in the principal entity type '{principalEntityType}'.

Could not scaffold the foreign key '{foreignKeyName}'. The referenced table could not be found. This most likely occurred because the referenced table was excluded from scaffolding.

Could not scaffold the foreign key '{foreignKeyName}'. The referenced table '{principalTableName}' could not be scaffolded.

Could not scaffold the foreign key '{foreignKeyName}'. The following columns in the foreign key could not be scaffolded: {columnNames}.

Unable to identify the primary key for table '{tableName}'.

Unable to find a schema in the database matching the selected schema {schema}.

Unable to find a table in the database matching the selected table {table}.

Could not scaffold the primary key for '{tableName}'. The following columns in the primary key could not be scaffolded: {columnNames}.

Metadata model returned should not be null. Provider: {providerTypeName}.

No files generated in directory {outputDirectoryName}. The following file(s) already exist and must be made writeable to continue: {readOnlyFiles}.

Unable to generate entity type for table '{tableName}'.

Unable to scaffold the index '{indexName}'. The following columns could not be scaffolded: {columnNames}.

Properties

  • MissingUseProviderMethodNameAnnotation
    MissingUseProviderMethodNameAnnotation

    Cannot scaffold the connection string. The "UseProviderMethodName" is missing from the scaffolding model.

    public static string MissingUseProviderMethodNameAnnotation { get; }Public Shared ReadOnly Property MissingUseProviderMethodNameAnnotation As String

    Property Value

    • System.String
      System.String
  • SequencesRequireName
    SequencesRequireName

    Sequence name cannot be null or empty. Entity Framework cannot model a sequence that does not have a name.

    public static string SequencesRequireName { get; }Public Shared ReadOnly Property SequencesRequireName As String

    Property Value

    • System.String
      System.String

Methods

  • BadSequenceType(Object, Object)
    BadSequenceType(Object, Object)

    For sequence '{sequenceName}'. Unable to scaffold because it uses an unsupported type: '{typeName}'.

    public static string BadSequenceType(object sequenceName, object typeName)Public Shared Function BadSequenceType(sequenceName As Object, typeName As Object) As String

    Parameters

    • sequenceName
      System.Object
      System.Object
    • typeName
      System.Object
      System.Object

    Returns

    • System.String
      System.String
  • CannotFindTypeMappingForColumn(Object, Object)
    CannotFindTypeMappingForColumn(Object, Object)

    Could not find type mapping for column '{columnName}' with data type '{dateType}'. Skipping column.

    public static string CannotFindTypeMappingForColumn(object columnName, object dateType)Public Shared Function CannotFindTypeMappingForColumn(columnName As Object, dateType As Object) As String

    Parameters

    • columnName
      System.Object
      System.Object
    • dateType
      System.Object
      System.Object

    Returns

    • System.String
      System.String
  • ExistingFiles(Object, Object)
    ExistingFiles(Object, Object)

    The following file(s) already exist in directory {outputDirectoryName}: {existingFiles}. Use the Force flag to overwrite these files.

    public static string ExistingFiles(object outputDirectoryName, object existingFiles)Public Shared Function ExistingFiles(outputDirectoryName As Object, existingFiles As Object) As String

    Parameters

    • outputDirectoryName
      System.Object
      System.Object
    • existingFiles
      System.Object
      System.Object

    Returns

    • System.String
      System.String
  • ForeignKeyScaffoldErrorPrincipalKeyNotFound(Object, Object, Object)
    ForeignKeyScaffoldErrorPrincipalKeyNotFound(Object, Object, Object)

    Could not scaffold the foreign key '{foreignKeyName}'. A key for '{columnsList}' was not found in the principal entity type '{principalEntityType}'.

    public static string ForeignKeyScaffoldErrorPrincipalKeyNotFound(object foreignKeyName, object columnsList, object principalEntityType)Public Shared Function ForeignKeyScaffoldErrorPrincipalKeyNotFound(foreignKeyName As Object, columnsList As Object, principalEntityType As Object) As String

    Parameters

    • foreignKeyName
      System.Object
      System.Object
    • columnsList
      System.Object
      System.Object
    • principalEntityType
      System.Object
      System.Object

    Returns

    • System.String
      System.String
  • ForeignKeyScaffoldErrorPrincipalTableNotFound(Object)
    ForeignKeyScaffoldErrorPrincipalTableNotFound(Object)

    Could not scaffold the foreign key '{foreignKeyName}'. The referenced table could not be found. This most likely occurred because the referenced table was excluded from scaffolding.

    public static string ForeignKeyScaffoldErrorPrincipalTableNotFound(object foreignKeyName)Public Shared Function ForeignKeyScaffoldErrorPrincipalTableNotFound(foreignKeyName As Object) As String

    Parameters

    • foreignKeyName
      System.Object
      System.Object

    Returns

    • System.String
      System.String
  • ForeignKeyScaffoldErrorPrincipalTableScaffoldingError(Object, Object)
    ForeignKeyScaffoldErrorPrincipalTableScaffoldingError(Object, Object)

    Could not scaffold the foreign key '{foreignKeyName}'. The referenced table '{principalTableName}' could not be scaffolded.

    public static string ForeignKeyScaffoldErrorPrincipalTableScaffoldingError(object foreignKeyName, object principalTableName)Public Shared Function ForeignKeyScaffoldErrorPrincipalTableScaffoldingError(foreignKeyName As Object, principalTableName As Object) As String

    Parameters

    • foreignKeyName
      System.Object
      System.Object
    • principalTableName
      System.Object
      System.Object

    Returns

    • System.String
      System.String
  • ForeignKeyScaffoldErrorPropertyNotFound(Object, Object)
    ForeignKeyScaffoldErrorPropertyNotFound(Object, Object)

    Could not scaffold the foreign key '{foreignKeyName}'. The following columns in the foreign key could not be scaffolded: {columnNames}.

    public static string ForeignKeyScaffoldErrorPropertyNotFound(object foreignKeyName, object columnNames)Public Shared Function ForeignKeyScaffoldErrorPropertyNotFound(foreignKeyName As Object, columnNames As Object) As String

    Parameters

    • foreignKeyName
      System.Object
      System.Object
    • columnNames
      System.Object
      System.Object

    Returns

    • System.String
      System.String
  • MissingPrimaryKey(Object)
    MissingPrimaryKey(Object)

    Unable to identify the primary key for table '{tableName}'.

    public static string MissingPrimaryKey(object tableName)Public Shared Function MissingPrimaryKey(tableName As Object) As String

    Parameters

    • tableName
      System.Object
      System.Object

    Returns

    • System.String
      System.String
  • MissingSchema(Object)
    MissingSchema(Object)

    Unable to find a schema in the database matching the selected schema {schema}.

    public static string MissingSchema(object schema)Public Shared Function MissingSchema(schema As Object) As String

    Parameters

    • schema
      System.Object
      System.Object

    Returns

    • System.String
      System.String
  • MissingTable(Object)
    MissingTable(Object)

    Unable to find a table in the database matching the selected table {table}.

    public static string MissingTable(object table)Public Shared Function MissingTable(table As Object) As String

    Parameters

    • table
      System.Object
      System.Object

    Returns

    • System.String
      System.String
  • PrimaryKeyErrorPropertyNotFound(Object, Object)
    PrimaryKeyErrorPropertyNotFound(Object, Object)

    Could not scaffold the primary key for '{tableName}'. The following columns in the primary key could not be scaffolded: {columnNames}.

    public static string PrimaryKeyErrorPropertyNotFound(object tableName, object columnNames)Public Shared Function PrimaryKeyErrorPropertyNotFound(tableName As Object, columnNames As Object) As String

    Parameters

    • tableName
      System.Object
      System.Object
    • columnNames
      System.Object
      System.Object

    Returns

    • System.String
      System.String
  • ProviderReturnedNullModel(Object)
    ProviderReturnedNullModel(Object)

    Metadata model returned should not be null. Provider: {providerTypeName}.

    public static string ProviderReturnedNullModel(object providerTypeName)Public Shared Function ProviderReturnedNullModel(providerTypeName As Object) As String

    Parameters

    • providerTypeName
      System.Object
      System.Object

    Returns

    • System.String
      System.String
  • ReadOnlyFiles(Object, Object)
    ReadOnlyFiles(Object, Object)

    No files generated in directory {outputDirectoryName}. The following file(s) already exist and must be made writeable to continue: {readOnlyFiles}.

    public static string ReadOnlyFiles(object outputDirectoryName, object readOnlyFiles)Public Shared Function ReadOnlyFiles(outputDirectoryName As Object, readOnlyFiles As Object) As String

    Parameters

    • outputDirectoryName
      System.Object
      System.Object
    • readOnlyFiles
      System.Object
      System.Object

    Returns

    • System.String
      System.String
  • UnableToGenerateEntityType(Object)
    UnableToGenerateEntityType(Object)

    Unable to generate entity type for table '{tableName}'.

    public static string UnableToGenerateEntityType(object tableName)Public Shared Function UnableToGenerateEntityType(tableName As Object) As String

    Parameters

    • tableName
      System.Object
      System.Object

    Returns

    • System.String
      System.String
  • UnableToScaffoldIndexMissingProperty(Object, Object)
    UnableToScaffoldIndexMissingProperty(Object, Object)

    Unable to scaffold the index '{indexName}'. The following columns could not be scaffolded: {columnNames}.

    public static string UnableToScaffoldIndexMissingProperty(object indexName, object columnNames)Public Shared Function UnableToScaffoldIndexMissingProperty(indexName As Object, columnNames As Object) As String

    Parameters

    • indexName
      System.Object
      System.Object
    • columnNames
      System.Object
      System.Object

    Returns

    • System.String
      System.String

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.Design.dll