Interface IInsertDataSyntax
Specify the data to insert
Namespace: FluentMigrator.Builders.Insert
Assembly: FluentMigrator.Abstractions.dll
Syntax
public interface IInsertDataSyntax
Methods
| Edit this page View SourceRow(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 |
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.