ComponentOne FlexPivot for WinForms
table Method

C1.DataEngine.4 Assembly > C1.DataEngine Namespace > Workspace Class : table Method
The name of the base table
Gets a base table by its name.
Syntax
'Declaration
 
Public Function table( _
   ByVal name As System.String _
) As System.Dynamic.ExpandoObject
public System.Dynamic.ExpandoObject table( 
   System.string name
)

Parameters

name
The name of the base table

Return Value

Dynamic object representing the base table.
Remarks
The dynamic object is used in queries over this table, for example, dynamic od = workspace.table("OderDetails"); dynamic query1 = workspace.query(new { price = Op.Mul(od.UnitPrice, od.Discount) }); Also, it has a Table property that returns the BaseTable object representing this base table: BaseTable t = workspace.table("t1").Table;
See Also

Reference

Workspace Class
Workspace Members