ObjectContext.CreateDatabase Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates the database by using the current data source connection and the metadata in the StoreItemCollection.
public:
void CreateDatabase();
public void CreateDatabase ();
member this.CreateDatabase : unit -> unit
Public Sub CreateDatabase ()
Remarks
Call CreateDatabaseScript to view the data definition language (DDL) script. Call CreateDatabase to execute the script.
Most of the work is delegated to the CreateDatabase method.
For more information, see Working with Data Definition Language.
Applies to
See also
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.