Table of Contents

Class repField

Namespace
PolarStudio
Assembly
PolarStudio.dll

This class contains a field in the Polar Studio repository.

public class repField
Inheritance
repField
Inherited Members
Extension Methods

Properties

BaseField

Returns the name of the base field.

public string BaseField { get; }

Property Value

string

FieldSize

Returns the size of the field for text fields. Returns 0 if not set.

public int FieldSize { get; }

Property Value

int

FieldType

Returns the type of this field in Polar Studio terms, like 'TEXT', 'MEMO', 'BLOB', 'NUMBER', 'INTEGER', 'AUTONUMBER' etc.

public string FieldType { get; }

Property Value

string

FillWithFields

Returns an ordered list of fields to use for 'fill with' when a foreign key is set in this table.

public repFillWithFields FillWithFields { get; }

Property Value

repFillWithFields

Name

Returns the name

public string Name { get; }

Property Value

string

NameInDatabase

Returns the name of the field in the database.

public string NameInDatabase { get; }

Property Value

string

Notes

Returns the notes for this field.

public string Notes { get; }

Property Value

string

Relationship

Returns the relationship for this field in case it is a foreign key.

public repRelationship Relationship { get; }

Property Value

repRelationship

SysFieldID

Returns the SysFieldID for this field in the repository.

public int SysFieldID { get; }

Property Value

int

Table

Returns the table in the repository containing this field.

public repTable Table { get; }

Property Value

repTable

Methods

Permissions(int, int)

Returns the permissions for this field for the specified SysGroupID and SysStateID.

public repFieldStatePermissions Permissions(int pSysGroupID, int pSysStateID)

Parameters

pSysGroupID int

The SysGroupID to get the permissions for. Use 0 for the default permissions.

pSysStateID int

The SysStateID to get the permissions for. Use 0 for the default permissions.

Returns

repFieldStatePermissions

The permissions.

Settings(int)

Returns the group specific setting for the specified pSysGroupID

public repFieldSettings Settings(int pSysGroupID)

Parameters

pSysGroupID int

The SysGroupID to get the settings for. Use 0 for the default settings.

Returns

repFieldSettings

The groups specific settings.