SqlMapperSetTypeName Method |
Associate a DataTable with a type name
Namespace: DapperAssembly: VirtualRadar.Database (in VirtualRadar.Database.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static void SetTypeName(
this DataTable table,
string typeName
)
<ExtensionAttribute>
Public Shared Sub SetTypeName (
table As DataTable,
typeName As String
)
public:
[ExtensionAttribute]
static void SetTypeName(
DataTable^ table,
String^ typeName
)
[<ExtensionAttribute>]
static member SetTypeName :
table : DataTable *
typeName : string -> unit
Parameters
- table
- Type: System.DataDataTable
- typeName
- Type: SystemString
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
DataTable. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also