Search Results for

    Show / Hide Table of Contents

    Interface IInsertDataSyntax

    Specify the data to insert

    Namespace: FluentMigrator.Builders.Insert
    Assembly: FluentMigrator.Abstractions.dll
    Syntax
    public interface IInsertDataSyntax

    Methods

    | Edit this page View Source

    Row(IDictionary<string, object>)

    Specify the data to insert

    Declaration
    IInsertDataSyntax Row(IDictionary<string, object> data)
    Parameters
    Type Name Description
    IDictionary<string, object> data

    The dictionary containing column name/value combinations

    Returns
    Type Description
    IInsertDataSyntax

    The next step

    | Edit this page View Source

    Row(object)

    Specify the data to insert

    Declaration
    IInsertDataSyntax Row(object dataAsAnonymousType)
    Parameters
    Type Name Description
    object dataAsAnonymousType

    An anonymous object that is used to insert data

    Returns
    Type Description
    IInsertDataSyntax

    The next step

    Remarks

    The properties are the column names and their values are the row values.

    Extension Methods

    SqlServerExtensions.WithIdentityInsert(IInsertDataSyntax)
    • 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.