コード例 #1
0
 /// <summary>
 /// create the database.
 /// </summary>
 /// <param name="connection">The connection.</param>
 /// <param name="commandTimeout">The command timeout.</param>
 /// <param name="storeItemCollection">The store item collection.</param>
 protected override void DbCreateDatabase(DbConnection connection, int?commandTimeout, System.Data.Metadata.Edm.StoreItemCollection storeItemCollection)
 {
     _wrapped.CreateDatabase(GetRealConnection(connection), commandTimeout, storeItemCollection);
 }
コード例 #2
0
 /// <summary>
 /// create the database script.
 /// </summary>
 /// <param name="providerManifestToken">The provider manifest token.</param>
 /// <param name="storeItemCollection">The store item collection.</param>
 /// <returns>a string containing the database script.</returns>
 protected override string DbCreateDatabaseScript(string providerManifestToken, System.Data.Metadata.Edm.StoreItemCollection storeItemCollection)
 {
     return(_wrapped.CreateDatabaseScript(providerManifestToken, storeItemCollection));
 }
コード例 #3
0
 /// <summary>
 /// test if the database exists.
 /// </summary>
 /// <param name="connection">The connection.</param>
 /// <param name="commandTimeout">The command timeout.</param>
 /// <param name="storeItemCollection">The store item collection.</param>
 /// <returns>true if the database exists.</returns>
 protected override bool DbDatabaseExists(DbConnection connection, int?commandTimeout, System.Data.Metadata.Edm.StoreItemCollection storeItemCollection)
 {
     return(_wrapped.DatabaseExists(GetRealConnection(connection), commandTimeout, storeItemCollection));
 }
コード例 #4
0
 protected override void DbDeleteDatabase(DbConnection connection, int?commandTimeout, System.Data.Metadata.Edm.StoreItemCollection storeItemCollection)
 {
     providerServices.DeleteDatabase(GetRealConnection(connection), commandTimeout, storeItemCollection);
 }