System.Data.Common.DbProviderServices.CreateCommandDefinition(System.Data.Common.DbCommand)

Here are the examples of the csharp api class System.Data.Common.DbProviderServices.CreateCommandDefinition(System.Data.Common.DbCommand) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

4 Examples 7

1. Example

Project: referencesource
Source File: EntityProviderServices.cs
protected override DbCommandDefinition CreateDbCommandDefinition(DbProviderManifest providerManifest, DbCommandTree commandTree) {
            EntityUtil.CheckArgumentNull(providerManifest, "providerManifest");
            EntityUtil.CheckArgumentNull(commandTree, "commandTree");

            StoreItemCollection storeMetadata = (StoreItemCollection)commandTree.MetadataWorkspace.GetItemCollection(DataSpace.SSpace);
            return this.CreateCommandDefinition(storeMetadata.StoreProviderFactory, commandTree);
        }

2. Example

Project: referencesource
Source File: SqlProviderServices.cs
protected override DbCommandDefinition CreateDbCommandDefinition(DbProviderManifest providerManifest, DbCommandTree commandTree) {
            Debug.Assert(providerManifest != null, "CreateCommandDefinition passed null provider manifest to CreateDbCommandDefinition?");
            Debug.Assert(commandTree != null, "CreateCommandDefinition did not validate commandTree argument?");
                        
            DbCommand prototype = CreateCommand(providerManifest, commandTree);
            DbCommandDefinition result = this.CreateCommandDefinition(prototype);
            return result;
        }

3. Example

Project: mysql-connector-net
Source File: ProviderServices.cs
protected override DbCommandDefinition CreateDbCommandDefinition(
				DbProviderManifest providerMan/n ..... /n //View Source file for more details /n }

4. Example

Project: nuodb-dotnet
Source File: NuoDbProviderServices.cs
protected override DbCommandDefinition CreateDbCommandDefinition(DbProviderManifest providerManifest/n ..... /n //View Source file for more details /n }