Creates a new instance of the object.
Namespace:
NetQuarry.Metadata
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public ObjectType(
string name,
string tableName,
string primaryKeyColumn,
string nameColumn,
ObjectTypeAttrs attributes,
ObjectPermissions permissions
)
Public Sub New (
name As String,
tableName As String,
primaryKeyColumn As String,
nameColumn As String,
attributes As ObjectTypeAttrs,
permissions As ObjectPermissions
)
Parameters
- name
- Type: SystemString
The Name of the object. - tableName
- Type: SystemString
The TableName of the primary database table for the object. - primaryKeyColumn
- Type: SystemString
The primary key column in the object's database table (PrimaryKeyColumn). - nameColumn
- Type: SystemString
The object name column in the object's database table (NameColumn). - attributes
- Type: NetQuarry.MetadataObjectTypeAttrs
ObjectTypeAttrs attributes describing the object. - permissions
- Type: NetQuarryObjectPermissions
The bitmask of ObjectPermissions that this object supports.
See Also