Class RawSql
A wrapper class for a SQL value
Inherited Members
Namespace: FluentMigrator
Assembly: FluentMigrator.Abstractions.dll
Syntax
public class RawSql
Remarks
This raw SQL value is normally used when a custom default value was specified
Properties
| Edit this page View SourceValue
Gets the underlying SQL value
Declaration
public string Value { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
| Edit this page View SourceInsert(string)
Creates a new RawSql instance using a given SQL value
Declaration
public static RawSql Insert(string sqlToRun)
Parameters
| Type | Name | Description |
|---|---|---|
| string | sqlToRun | The SQL value |
Returns
| Type | Description |
|---|---|
| RawSql | The new RawSql instance |