Maps one or more data-source-specific values to a specified generic concept.
Namespace:  Microsoft.VisualStudio.Data.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
声明
Public Overrides Function MapValuesToConcept ( _
    typeName As String, _
    conceptName As String, _
    values As Object() _
) As Object
public override Object MapValuesToConcept(
    string typeName,
    string conceptName,
    Object[] values
)
public:
virtual Object^ MapValuesToConcept(
    String^ typeName, 
    String^ conceptName, 
    array<Object^>^ values
) override
abstract MapValuesToConcept : 
        typeName:string * 
        conceptName:string * 
        values:Object[] -> Object 
override MapValuesToConcept : 
        typeName:string * 
        conceptName:string * 
        values:Object[] -> Object 
public override function MapValuesToConcept(
    typeName : String, 
    conceptName : String, 
    values : Object[]
) : Object
Parameters
- typeName
Type: System.String
The name of the data object type requesting this mapping. 
- conceptName
Type: System.String
The name of the generic concept. 
- values
Type: array<System.Object[]
One or more data source specific values to map into the concept specified by conceptName. 
Return Value
Type: System.Object
Returns an object representing the value of the generic concept.
Exceptions
| Exception | Condition | 
|---|---|
| ArgumentNullException | The conceptName and/or values parameter is null  | 
| ArgumentException | The typeName and/or conceptName parameter is invalid, or the values array does not contain the expected type of data.  | 
| NotSupportedException | This method does not support mapping of the specified concept for the specified types.  | 
Remarks
Provides an ADO.NET specific implementation of the DataObjectConceptMapper method.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
 
See Also
Reference
AdoDotNetObjectConceptMapper Class