Edit

Share via


EntityDataSource.ContextTypeName Property

Definition

Gets or sets the fully qualified name of the typed ObjectContext that is used by the EntityDataSource control.

public:
 property System::String ^ ContextTypeName { System::String ^ get(); void set(System::String ^ value); };
public string ContextTypeName { get; set; }
member this.ContextTypeName : string with get, set
Public Property ContextTypeName As String

Property Value

A String that is the fully qualified name of the type.

Remarks

The ContextTypeName property of the EntityDataSource control is a string that specifies the fully qualified type name of the typed ObjectContext that is used by the EntityDataSource control. If the ContextTypeName property is not specified, both the DefaultContainerName and ConnectionString properties must be set for the control to create the ObjectContext.

Applies to