'DeclarationPublic Sub CreateDatabase( _ ByVal connection As System.Data.Common.DbConnection, _ ByVal commandTimeout As System.Nullable(Of Integer), _ ByVal storeItemCollection As System.Data.Entity.Core.Metadata.Edm.StoreItemCollection _ )
'UsageDim instance As VistaDBProviderServices Dim connection As System.Data.Common.DbConnection Dim commandTimeout As System.Nullable(Of Integer) Dim storeItemCollection As System.Data.Entity.Core.Metadata.Edm.StoreItemCollection instance.CreateDatabase(connection, commandTimeout, storeItemCollection)
public void CreateDatabase( System.Data.Common.DbConnection connection, System.Nullable<int> commandTimeout, System.Data.Entity.Core.Metadata.Edm.StoreItemCollection storeItemCollection )
Parameters
- connection
- Connection to a non-existent database that needs to be created and populated with the store objects indicated with the storeItemCollection parameter.
- commandTimeout
- Execution timeout for any commands needed to create the database.
- storeItemCollection
- The collection of all store items based on which the script should be created.