Search Results for

    Show / Hide Table of Contents

    Class RawSql

    A wrapper class for a SQL value

    Inheritance
    object
    RawSql
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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 Source

    Value

    Gets the underlying SQL value

    Declaration
    public string Value { get; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    Insert(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

    • Edit this page
    • View Source
    In this article
    Back to top
    Copyright © 2018 Fluent Migrator Project
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.