Share via


RawSqlString Estructura

Definición

Precaución

For the execution of SQL queries using plain strings, use FromSqlRaw, ExecuteSqlRaw, or ExecuteSqlRawAsync instead. For the execution of SQL queries using interpolated string syntax to create parameters, use FromSqlInterpolated, ExecuteSqlInterpolated, or ExecuteSqlInterpolatedAsync instead.

Cadena que representa una consulta SQL sin procesar. Este tipo habilita la resolución de sobrecargas entre el normal y el interpolado FromSql<TEntity>(IQueryable<TEntity>, RawSqlString, Object[]) y ExecuteSqlCommand(DatabaseFacade, RawSqlString, Object[])

public struct RawSqlString
public readonly struct RawSqlString
[System.Obsolete("For the execution of SQL queries using plain strings, use FromSqlRaw, ExecuteSqlRaw, or ExecuteSqlRawAsync instead. For the execution of SQL queries using interpolated string syntax to create parameters, use FromSqlInterpolated, ExecuteSqlInterpolated, or ExecuteSqlInterpolatedAsync instead.")]
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct RawSqlString
[System.Obsolete("For the execution of SQL queries using plain strings, use FromSqlRaw, ExecuteSqlRaw, or ExecuteSqlRawAsync instead. For the execution of SQL queries using interpolated string syntax to create parameters, use FromSqlInterpolated, ExecuteSqlInterpolated, or ExecuteSqlInterpolatedAsync instead.")]
public readonly struct RawSqlString
type RawSqlString = struct
[<System.Obsolete("For the execution of SQL queries using plain strings, use FromSqlRaw, ExecuteSqlRaw, or ExecuteSqlRawAsync instead. For the execution of SQL queries using interpolated string syntax to create parameters, use FromSqlInterpolated, ExecuteSqlInterpolated, or ExecuteSqlInterpolatedAsync instead.")>]
[<System.Runtime.CompilerServices.IsReadOnly>]
type RawSqlString = struct
[<System.Obsolete("For the execution of SQL queries using plain strings, use FromSqlRaw, ExecuteSqlRaw, or ExecuteSqlRawAsync instead. For the execution of SQL queries using interpolated string syntax to create parameters, use FromSqlInterpolated, ExecuteSqlInterpolated, or ExecuteSqlInterpolatedAsync instead.")>]
type RawSqlString = struct
Public Structure RawSqlString
Herencia
RawSqlString
Atributos

Constructores

RawSqlString(String)
Obsoletos.

Construye un RawSqlString a partir de un String

Propiedades

Format
Obsoletos.

Formato de cadena.

Operadores

Implicit(FormattableString to RawSqlString)
Obsoletos.

Convierte implícitamente un objeto FormattableString en un RawSqlString

Implicit(String to RawSqlString)
Obsoletos.

Convierte implícitamente un objeto String en un RawSqlString

Se aplica a