Export (0) Print
Expand All

EntityDataSource.DefaultContainerName Property

Gets or sets the default container name.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web.Entity (in System.Web.Entity.dll)

public string DefaultContainerName { get; set; }

Property Value

Type: System.String
A String that is the default container name.

If the ContextTypeName property is not specified, both the DefaultContainerName and ConnectionString properties must be set for the control to create the ObjectContext.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft