Table of Contents

Struct RawSqlString

Namespace
LinqToDB.Common
Assembly
linq2db.dll

A string representing a raw SQL query. This type enables overload resolution between the regular and interpolated FromSql<TEntity>(IDataContext, RawSqlString, params object?[]).

public readonly struct RawSqlString
Inherited Members
Extension Methods

Constructors

RawSqlString(string)

Constructs a RawSqlString from a string

public RawSqlString(string s)

Parameters

s string

The string.

Properties

Format

The string format.

public string Format { get; }

Property Value

string

Operators

implicit operator RawSqlString(string)

Implicitly converts a string to a RawSqlString

public static implicit operator RawSqlString(string s)

Parameters

s string

The string.

Returns

RawSqlString