Knight Data Access Layer
Insert(Table,Dictionary<String,Object>) Method




KellermanSoftware.NetDataAccessLayer Namespace > TableCrud Class > Insert Method : Insert(Table,Dictionary<String,Object>) Method
Class to table mapping
The parameters to use for the where clause
Insert a record into the database using the passed table map
Syntax
Public Overloads Function Insert( _
   ByVal table As Table, _
   ByVal parameters As Dictionary(Of String,Object) _
) As Object
Dim instance As TableCrud
Dim table As Table
Dim parameters As Dictionary(Of String,Object)
Dim value As Object
 
value = instance.Insert(table, parameters)
public object Insert( 
   Table table,
   Dictionary<string,object> parameters
)

Parameters

table
Class to table mapping
parameters
The parameters to use for the where clause

Return Value

The identity
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TableCrud Class
TableCrud Members
Overload List