Tortuga.Chain Namespace
Tortuga.Chain.Metadata Namespace

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

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
)
Public Function Insert(Of TArgument) ( _
	tableName As String, _
	argumentValue As TArgument _
) As ObjectDbCommandBuilder(Of NpgsqlCommand, NpgsqlParameter, TArgument)
public:
generic<typename TArgument>
ObjectDbCommandBuilder<NpgsqlCommand^, NpgsqlParameter^, TArgument>^ Insert(
	String^ tableName, 
	TArgument argumentValue
)

Type Parameters

TArgument

Parameters

tableName
Type: String
Name of the table.
argumentValue
Type: TArgument
The argument value.

Return Value

SqlServerInsert.