다음을 통해 공유


RawSqlString 구조체

정의

주의

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.

원시 SQL 쿼리를 나타내는 문자열입니다. 이 형식을 사용하면 일반 및 보간 FromSql<TEntity>(IQueryable<TEntity>, RawSqlString, Object[]) 된 및 간의 오버로드 확인이 가능합니다. 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
상속
RawSqlString
특성

생성자

RawSqlString(String)
사용되지 않음.

에서 을 RawSqlString 생성합니다. String

속성

Format
사용되지 않음.

문자열 형식입니다.

연산자

Implicit(FormattableString to RawSqlString)
사용되지 않음.

암시적으로 를 로 FormattableString 변환합니다. RawSqlString

Implicit(String to RawSqlString)
사용되지 않음.

암시적으로 를 로 String 변환합니다. RawSqlString

적용 대상