NSoft.NFramework.Data.NHibernateEx.ForTesting.UnitOfWorkTestContextDbStrategy.CreatePhysicalDatabaseMediaFor C# (CSharp) Method

CreatePhysicalDatabaseMediaFor() public static method

Creates the physical database named databaseName.
Use this method to create the physical database file.

For MsSqlCe this will create a database file in the file system named databaseName.sdf

For MsSql2005 this will create a database named in the (local) instance of Sql Server 2005 on this machine

public static CreatePhysicalDatabaseMediaFor ( DatabaseEngine databaseEngine, string databaseName ) : void
databaseEngine DatabaseEngine
databaseName string
return void
        public static void CreatePhysicalDatabaseMediaFor(DatabaseEngine databaseEngine, string databaseName) {
            For(databaseEngine, databaseName, null).CreateDatabaseMedia();
        }