Convenience form of CreateTable(String, String, Schema, IList<(Of <<'(IList<(Of <<'(String>)>>)>)>>)),
that can be used if there is only a primary key with no secondary keys.
Create a table on the server without the need for a backing LVConf definition.
This can only be published to with a client publisher, it will not have any connections to existing tables or applications.
It can be stopped with DropTables(array<String>[]()[][]).
Namespace: StreamBase.LiveView.APIAssembly: StreamBase.LiveView.API (in StreamBase.LiveView.API.dll) Version: 11.1.0.0 (11.1.0.8)
Syntax
C# | Visual Basic | Visual C++ |
void CreateTable( string tableName, string description, Schema schema, params string[] primaryKeyFields )
Sub CreateTable ( _ tableName As String, _ description As String, _ schema As Schema, _ ParamArray primaryKeyFields As String() _ )
void CreateTable( String^ tableName, String^ description, Schema^ schema, ... array<String^>^ primaryKeyFields )
Parameters
- tableName
- String
- description
- String
- schema
- Schema
Defines the columns in the table.
- primaryKeyFields
- array<String>[]()[][]
The list of field names comprised in the primary key.