Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DbModelBuilder::HasDefaultSchema Method (String^)

Entity Framework 6.0
 

Configures the default database schema name. This default database schema name is used for database objects that do not have an explicitly configured schema name.

Namespace:   System.Data.Entity
Assembly:  EntityFramework (in EntityFramework.dll)

public:
virtual DbModelBuilder^ HasDefaultSchema(
	String^ schema
)

Parameters

schema
Type: System::String^

The name of the default database schema.

Return Value

Type: System.Data.Entity::DbModelBuilder^

The same DbModelBuilder instance so that multiple calls can be chained.

Return to top
Show: