Builds a key for the given type an data record. This key may be used in the cache.
The key that is created contains also information about the type of the persistent object.
Syntax
| Visual Basic (Declaration) | |
|---|
Overloads Protected Function BuildUniqueKey( _
ByVal type As Type, _
ByVal dataRecord As IDataRecord _
) As String |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As CacheManagerBase
Dim type As Type
Dim dataRecord As IDataRecord
Dim value As String
value = instance.BuildUniqueKey(type, dataRecord)
|
| C# | |
|---|
protected string BuildUniqueKey(
Type type,
IDataRecord dataRecord
) |
| Managed Extensions for C++ | |
|---|
protected: string* BuildUniqueKey(
Type* type,
IDataRecord dataRecord
) |
| C++/CLI | |
|---|
protected:
String^ BuildUniqueKey(
Type^ type,
IDataRecord dataRecord
) |
Parameters
- type
- The type of the persistent object.
- dataRecord
- The data record used to create the key.
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also