IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > DefaultDataSourceKeyResolver Class : GetKey Method |
'Declaration
Public Overridable Function GetKey( _ ByVal keyName As String, _ ByVal keyExtension As String, _ ByVal onServer As Boolean _ ) As IDataSourceKey
'Usage
Dim instance As DefaultDataSourceKeyResolver Dim keyName As String Dim keyExtension As String Dim onServer As Boolean Dim value As IDataSourceKey value = instance.GetKey(keyName, keyExtension, onServer)
public virtual IDataSourceKey GetKey( string keyName, string keyExtension, bool onServer )
If an extension is not provided (either null or empty string) then only the keyName lookup is done.
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