VistaDB 5






A TypeUsage encapsulating an EDM type and a set of facets
GetStoreType Method
This method takes a type and a set of facets and returns the best mapped equivalent type in SQL Server, taking the store version into consideration.
Syntax
'Declaration
 
Public Overrides NotOverridable Function GetStoreType( _
   ByVal edmType As System.Data.Entity.Core.Metadata.Edm.TypeUsage _
) As System.Data.Entity.Core.Metadata.Edm.TypeUsage
'Usage
 
Dim instance As VistaDBProviderManifest
Dim edmType As System.Data.Entity.Core.Metadata.Edm.TypeUsage
Dim value As System.Data.Entity.Core.Metadata.Edm.TypeUsage
 
value = instance.GetStoreType(edmType)
public override System.Data.Entity.Core.Metadata.Edm.TypeUsage GetStoreType( 
   System.Data.Entity.Core.Metadata.Edm.TypeUsage edmType
)
public function GetStoreType( 
    edmType: System.Data.Entity.Core.Metadata.Edm.TypeUsage
): System.Data.Entity.Core.Metadata.Edm.TypeUsage; override; 
public override function GetStoreType( 
   edmType : System.Data.Entity.Core.Metadata.Edm.TypeUsage
) : System.Data.Entity.Core.Metadata.Edm.TypeUsage;
public: System.Data.Entity.Core.Metadata.Edm.TypeUsage* GetStoreType( 
   System.Data.Entity.Core.Metadata.Edm.TypeUsage* edmType
) override 
public:
System.Data.Entity.Core.Metadata.Edm.TypeUsage^ GetStoreType( 
   System.Data.Entity.Core.Metadata.Edm.TypeUsage^ edmType
) override 

Parameters

edmType
A TypeUsage encapsulating an EDM type and a set of facets

Return Value

A TypeUsage encapsulating a store type and a set of facets
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