SqliteDesignStrings SqliteDesignStrings 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 SqliteDesignStringsPublic Module SqliteDesignStrings

Inheritance Hierarchy

  • System.Object
    System.Object
  • SqliteDesignStrings
    SqliteDesignStrings

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

Scaffolding from a SQLite database will ignore any schema selection arguments.

Methods summary

Found a column on index {indexName} on table {tableName} with an empty or null name. Not including column in index.

Found column on table: {tableName}, column name: {columnName}, data type: {dataType}, ordinal: {ordinal}, not nullable: {isNotNullable}, primary key ordinal: {primaryKeyOrdinal}, default value: {defaultValue}.

Found foreign key column on table: {tableName}, id: {id}, principal table: {principalTableName}, column name: {columnName}, principal column name: {principalColumnName}, delete action: {deleteAction}, ordinal: {ordinal}.

Found index with name: {indexName}, table: {tableName}, is unique: {isUnique}.

Found index column on index {indexName} on table {tableName}, column name: {columnName}, ordinal: {ordinal}.

Found table with name: {name}.

For foreign key with identity {id} on table {tableName}, unable to find the column called {principalColumnName} on the foreign key's principal table, {principalTableName}. Skipping foreign key.

For foreign key with identity {id} on table {tableName}, unable to find the principal table {principalTableName}. Either the principal table is missing from the database or it was not included in the selection set. Skipping foreign key.

Table {tableName} is not included in the selection set. Skipping.

Properties

  • UsingSchemaSelectionsWarning
    UsingSchemaSelectionsWarning

    Scaffolding from a SQLite database will ignore any schema selection arguments.

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

    Property Value

    • System.String
      System.String

Methods

  • ColumnNameEmptyOnIndex(Object, Object)
    ColumnNameEmptyOnIndex(Object, Object)

    Found a column on index {indexName} on table {tableName} with an empty or null name. Not including column in index.

    public static string ColumnNameEmptyOnIndex(object indexName, object tableName)Public Shared Function ColumnNameEmptyOnIndex(indexName As Object, tableName As Object) As String

    Parameters

    • indexName
      System.Object
      System.Object
    • tableName
      System.Object
      System.Object

    Returns

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

    Found column on table: {tableName}, column name: {columnName}, data type: {dataType}, ordinal: {ordinal}, not nullable: {isNotNullable}, primary key ordinal: {primaryKeyOrdinal}, default value: {defaultValue}.

    public static string FoundColumn(object tableName, object columnName, object dataType, object ordinal, object isNotNullable, object primaryKeyOrdinal, object defaultValue)Public Shared Function FoundColumn(tableName As Object, columnName As Object, dataType As Object, ordinal As Object, isNotNullable As Object, primaryKeyOrdinal As Object, defaultValue As Object) As String

    Parameters

    • tableName
      System.Object
      System.Object
    • columnName
      System.Object
      System.Object
    • dataType
      System.Object
      System.Object
    • ordinal
      System.Object
      System.Object
    • isNotNullable
      System.Object
      System.Object
    • primaryKeyOrdinal
      System.Object
      System.Object
    • defaultValue
      System.Object
      System.Object

    Returns

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

    Found foreign key column on table: {tableName}, id: {id}, principal table: {principalTableName}, column name: {columnName}, principal column name: {principalColumnName}, delete action: {deleteAction}, ordinal: {ordinal}.

    public static string FoundForeignKeyColumn(object tableName, object id, object principalTableName, object columnName, object principalColumnName, object deleteAction, object ordinal)Public Shared Function FoundForeignKeyColumn(tableName As Object, id As Object, principalTableName As Object, columnName As Object, principalColumnName As Object, deleteAction As Object, ordinal As Object) As String

    Parameters

    • tableName
      System.Object
      System.Object
    • id
      System.Object
      System.Object
    • principalTableName
      System.Object
      System.Object
    • columnName
      System.Object
      System.Object
    • principalColumnName
      System.Object
      System.Object
    • deleteAction
      System.Object
      System.Object
    • ordinal
      System.Object
      System.Object

    Returns

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

    Found index with name: {indexName}, table: {tableName}, is unique: {isUnique}.

    public static string FoundIndex(object indexName, object tableName, object isUnique)Public Shared Function FoundIndex(indexName As Object, tableName As Object, isUnique As Object) As String

    Parameters

    • indexName
      System.Object
      System.Object
    • tableName
      System.Object
      System.Object
    • isUnique
      System.Object
      System.Object

    Returns

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

    Found index column on index {indexName} on table {tableName}, column name: {columnName}, ordinal: {ordinal}.

    public static string FoundIndexColumn(object indexName, object tableName, object columnName, object ordinal)Public Shared Function FoundIndexColumn(indexName As Object, tableName As Object, columnName As Object, ordinal As Object) As String

    Parameters

    • indexName
      System.Object
      System.Object
    • tableName
      System.Object
      System.Object
    • columnName
      System.Object
      System.Object
    • ordinal
      System.Object
      System.Object

    Returns

    • System.String
      System.String
  • FoundTable(Object)
    FoundTable(Object)

    Found table with name: {name}.

    public static string FoundTable(object name)Public Shared Function FoundTable(name As Object) As String

    Parameters

    • name
      System.Object
      System.Object

    Returns

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

    For foreign key with identity {id} on table {tableName}, unable to find the column called {principalColumnName} on the foreign key's principal table, {principalTableName}. Skipping foreign key.

    public static string PrincipalColumnNotFound(object id, object tableName, object principalColumnName, object principalTableName)Public Shared Function PrincipalColumnNotFound(id As Object, tableName As Object, principalColumnName As Object, principalTableName As Object) As String

    Parameters

    • id
      System.Object
      System.Object
    • tableName
      System.Object
      System.Object
    • principalColumnName
      System.Object
      System.Object
    • principalTableName
      System.Object
      System.Object

    Returns

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

    For foreign key with identity {id} on table {tableName}, unable to find the principal table {principalTableName}. Either the principal table is missing from the database or it was not included in the selection set. Skipping foreign key.

    public static string PrincipalTableNotFound(object id, object tableName, object principalTableName)Public Shared Function PrincipalTableNotFound(id As Object, tableName As Object, principalTableName As Object) As String

    Parameters

    • id
      System.Object
      System.Object
    • tableName
      System.Object
      System.Object
    • principalTableName
      System.Object
      System.Object

    Returns

    • System.String
      System.String
  • TableNotInSelectionSet(Object)
    TableNotInSelectionSet(Object)

    Table {tableName} is not included in the selection set. Skipping.

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

    Parameters

    • tableName
      System.Object
      System.Object

    Returns

    • System.String
      System.String

Details

Assembly

Microsoft.EntityFrameworkCore.Sqlite.Design.dll