RawSqlString Structure

Définition

Attention

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.

Chaîne représentant une requête SQL brute. Ce type active la résolution de surcharge entre le standard et l’interpolé FromSql<TEntity>(IQueryable<TEntity>, RawSqlString, Object[]) et ExecuteSqlCommand(DatabaseFacade, RawSqlString, Object[])

public 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 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 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
Héritage
RawSqlString
Attributs

Constructeurs

RawSqlString(String)

Construit un RawSqlString à partir d’un String

Propriétés

Format

Format de chaîne.

Opérateurs

Implicit(FormattableString to RawSqlString)

Convertit implicitement un FormattableString en RawSqlString

Implicit(String to RawSqlString)

Convertit implicitement un String en RawSqlString

S’applique à