RelationalCommandBuilderExtensions.AppendLines Method

Definition

Overloads

AppendLines(IRelationalCommandBuilder, Object)

Appends an object, that contains multiple lines of text, to the command text. Each line read from the object is appended on a new line.

AppendLines(IRelationalCommandBuilder, Object, Boolean)

Appends an object, that contains multiple lines of text, to the command text. Each line read from the object is appended on a new line.

AppendLines(IRelationalCommandBuilder, String, Boolean)

Appends an object, that contains multiple lines of text, to the command text. Each line read from the object is appended on a new line.

AppendLines(IRelationalCommandBuilder, Object)

Appends an object, that contains multiple lines of text, to the command text. Each line read from the object is appended on a new line.

public static Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder AppendLines (this Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder commandBuilder, object o);
static member AppendLines : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder * obj -> Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder
<Extension()>
Public Function AppendLines (commandBuilder As IRelationalCommandBuilder, o As Object) As IRelationalCommandBuilder

Parameters

commandBuilder
IRelationalCommandBuilder

The command builder.

o
Object

The object to be written.

Returns

The same builder instance so that multiple calls can be chained.

Applies to

AppendLines(IRelationalCommandBuilder, Object, Boolean)

Appends an object, that contains multiple lines of text, to the command text. Each line read from the object is appended on a new line.

public static Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder AppendLines (this Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder commandBuilder, object value, bool skipFinalNewline = false);
static member AppendLines : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder * obj * bool -> Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder
<Extension()>
Public Function AppendLines (commandBuilder As IRelationalCommandBuilder, value As Object, Optional skipFinalNewline As Boolean = false) As IRelationalCommandBuilder

Parameters

commandBuilder
IRelationalCommandBuilder

The command builder.

value
Object

The object to be written.

skipFinalNewline
Boolean

If true, then the final newline character is skipped.

Returns

The same builder instance so that multiple calls can be chained.

Applies to

AppendLines(IRelationalCommandBuilder, String, Boolean)

Appends an object, that contains multiple lines of text, to the command text. Each line read from the object is appended on a new line.

public static Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder AppendLines (this Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder commandBuilder, string value, bool skipFinalNewline = false);
static member AppendLines : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder * string * bool -> Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder
<Extension()>
Public Function AppendLines (commandBuilder As IRelationalCommandBuilder, value As String, Optional skipFinalNewline As Boolean = false) As IRelationalCommandBuilder

Parameters

commandBuilder
IRelationalCommandBuilder

The command builder.

value
String

The object to be written.

skipFinalNewline
Boolean

If true, then the final newline character is skipped.

Returns

The same builder instance so that multiple calls can be chained.

Applies to