Struct RawSqlString
A string representing a raw SQL query. This type enables overload resolution between the regular and interpolated SQL string query.
Namespace: Kros.KORM.Query.Sql
Assembly: Kros.KORM.dll
Syntax
public struct RawSqlString
Constructors
RawSqlString(String)
Constructs a RawSqlString from a see System.String
Declaration
public RawSqlString(string s)
Parameters
Type | Name | Description |
---|---|---|
System.String | s | The string. |
Properties
Format
The string format.
Declaration
public string Format { get; }
Property Value
Type | Description |
---|---|
System.String |
Operators
Implicit(FormattableString to RawSqlString)
Implicitly converts a System.FormattableString to a RawSqlString
Declaration
public static implicit operator RawSqlString(FormattableString fs)
Parameters
Type | Name | Description |
---|---|---|
System.FormattableString | fs | The string format. |
Returns
Type | Description |
---|---|
RawSqlString |
Implicit(String to RawSqlString)
Implicitly converts a System.String to a RawSqlString
Declaration
public static implicit operator RawSqlString(string s)
Parameters
Type | Name | Description |
---|---|---|
System.String | s | The string. |
Returns
Type | Description |
---|---|
RawSqlString |