MetaTable.TryGetTable(Type, MetaTable) Method

Definition

Retrieves the metatable that is associated with the specified type and table.

C#
public static bool TryGetTable(Type entityType, out System.Web.DynamicData.MetaTable table);

Parameters

entityType
Type

The type of the entity.

table
MetaTable

When this method returns, contains the metatable that is associated with the specified type. This parameter is passed uninitialized.

Returns

The metatable that is associated with the given specified and table.

Exceptions

entityType is null.

Applies to

Proizvod Verzije
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1