TableProvider Class

 

Provides the base class for Dynamic Data table providers.

Namespace:   System.Web.DynamicData.ModelProviders
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

System::Object
  System.Web.DynamicData.ModelProviders::TableProvider

public ref class TableProvider abstract 

NameDescription
System_CAPS_protmethodTableProvider(DataModelProvider^)

Initializes a new instance of the TableProvider class for use by an inherited class instance. This constructor can only be called by an inherited class.

NameDescription
System_CAPS_pubpropertyAttributes

Gets the attributes that are defined for the table that is represented by this provider.

System_CAPS_pubpropertyColumns

When overridden in a derived class, gets the collection of columns in this table.

System_CAPS_pubpropertyDataContextPropertyName

Gets the name of the table from the data context.

System_CAPS_pubpropertyDataModel

Gets the DataModelProvider object.

System_CAPS_pubpropertyEntityType

Gets or sets the type that represents the table.

System_CAPS_pubpropertyName

Gets the name of the table.

System_CAPS_pubpropertyParentEntityType

Gets the parent type.

System_CAPS_pubpropertyRootEntityType

Gets the root type for this entity.

NameDescription
System_CAPS_pubmethodCanDelete(IPrincipal^)

Gets a value that indicates whether the user is allowed to delete items from the table.

System_CAPS_pubmethodCanInsert(IPrincipal^)

Gets a value that indicates whether the user is allowed to insert items into the table.

System_CAPS_pubmethodCanRead(IPrincipal^)

Gets a value that indicates whether the user is allowed to read items in the table.

System_CAPS_pubmethodCanUpdate(IPrincipal^)

Gets a value that indicates whether the user is allowed to update items in the table.

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodEvaluateForeignKey(Object^, String^)

Returns the value of a foreign key for the specified row.

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetQuery(Object^)

When overridden in a derived class, returns the System.Linq::IQueryable object that in turn returns the elements of the table.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetTypeDescriptor()

Gets the type descriptor for the table.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns the Name property of the TableProvider instance.(Overrides Object::ToString().)

Table providers must extend this class. LINQ to SQL classes and the ADO.NET Entity data model are providers that extend this class.

.NET Framework
Available since 3.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: