VistaDB 5






VistaDB.Entity Namespace > VistaDBProviderServices Class : CreateDbCommandDefinition(DbProviderManifest,DbCommandTree) Method
provider manifest that was determined from metadata
command tree for the statement
CreateDbCommandDefinition(DbProviderManifest,DbCommandTree) Method
Creates a command definition object for the specified provider manifest and command tree.
Syntax
'Declaration
 
Protected Overrides NotOverridable Function CreateDbCommandDefinition( _
   ByVal providerManifest As System.Data.Entity.Core.Common.DbProviderManifest, _
   ByVal commandTree As System.Data.Entity.Core.Common.CommandTrees.DbCommandTree _
) As System.Data.Entity.Core.Common.DbCommandDefinition
'Usage
 
Dim instance As VistaDBProviderServices
Dim providerManifest As System.Data.Entity.Core.Common.DbProviderManifest
Dim commandTree As System.Data.Entity.Core.Common.CommandTrees.DbCommandTree
Dim value As System.Data.Entity.Core.Common.DbCommandDefinition
 
value = instance.CreateDbCommandDefinition(providerManifest, commandTree)
protected override System.Data.Entity.Core.Common.DbCommandDefinition CreateDbCommandDefinition( 
   System.Data.Entity.Core.Common.DbProviderManifest providerManifest,
   System.Data.Entity.Core.Common.CommandTrees.DbCommandTree commandTree
)
protected function CreateDbCommandDefinition( 
    providerManifest: System.Data.Entity.Core.Common.DbProviderManifest;
    commandTree: System.Data.Entity.Core.Common.CommandTrees.DbCommandTree
): System.Data.Entity.Core.Common.DbCommandDefinition; override; 
protected override function CreateDbCommandDefinition( 
   providerManifest : System.Data.Entity.Core.Common.DbProviderManifest,
   commandTree : System.Data.Entity.Core.Common.CommandTrees.DbCommandTree
) : System.Data.Entity.Core.Common.DbCommandDefinition;
protected: System.Data.Entity.Core.Common.DbCommandDefinition* CreateDbCommandDefinition( 
   System.Data.Entity.Core.Common.DbProviderManifest* providerManifest,
   System.Data.Entity.Core.Common.CommandTrees.DbCommandTree* commandTree
) override 
protected:
System.Data.Entity.Core.Common.DbCommandDefinition^ CreateDbCommandDefinition( 
   System.Data.Entity.Core.Common.DbProviderManifest^ providerManifest,
   System.Data.Entity.Core.Common.CommandTrees.DbCommandTree^ commandTree
) override 

Parameters

providerManifest
provider manifest that was determined from metadata
commandTree
command tree for the statement

Return Value

An executable command definition object. an executable command definition object
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