Tortuga.Chain Namespace
Tortuga.Chain.Metadata Namespace

PostgreSqlDataSourceBase..::..Insert<(Of <(<'TArgument>)>)> Method (String, TArgument, InsertOptions)

Inserts an object into the specified table.

Namespace:  Tortuga.Chain.PostgreSql
Assembly:  Tortuga.Chain.PostgreSql (in Tortuga.Chain.PostgreSql.dll)

Syntax


public ObjectDbCommandBuilder<NpgsqlCommand, NpgsqlParameter, TArgument> Insert<TArgument>(
	string tableName,
	TArgument argumentValue,
	InsertOptions options
)
Public Function Insert(Of TArgument) ( _
	tableName As String, _
	argumentValue As TArgument, _
	options As InsertOptions _
) As ObjectDbCommandBuilder(Of NpgsqlCommand, NpgsqlParameter, TArgument)
public:
generic<typename TArgument>
ObjectDbCommandBuilder<NpgsqlCommand^, NpgsqlParameter^, TArgument>^ Insert(
	String^ tableName, 
	TArgument argumentValue, 
	InsertOptions^ options
)

Type Parameters

TArgument

Parameters

tableName
Type: String
Name of the table.
argumentValue
Type: TArgument
The argument value.
options
Type: Tortuga.Chain..::..InsertOptions
The options.

Return Value

SqlServerInsert.