EntityDataSource.DefaultContainerName Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Available since 3.5
Return to top
Show: