Knight Data Access Layer
GetSqlMap Method (AutoMap)




KellermanSoftware.NetDataAccessLayer Namespace > AutoMap Class : GetSqlMap Method
The type of the class
The SQL text to execute
The record to map
Map SQL to a class
Syntax
Public Function GetSqlMap( _
   ByVal type As Type, _
   ByVal sql As String, _
   ByVal record As Dictionary(Of String,Object) _
) As Table
Dim instance As AutoMap
Dim type As Type
Dim sql As String
Dim record As Dictionary(Of String,Object)
Dim value As Table
 
value = instance.GetSqlMap(type, sql, record)
public Table GetSqlMap( 
   Type type,
   string sql,
   Dictionary<string,object> record
)
public: Table* GetSqlMap( 
   Type* type,
   string* sql,
   Dictionary<string*,Object*>* record
) 
public:
Table^ GetSqlMap( 
   Type^ type,
   String^ sql,
   Dictionary<String^,Object^>^ record
) 

Parameters

type
The type of the class
sql
The SQL text to execute
record
The record to map
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

AutoMap Class
AutoMap Members