Table of Contents

Class FieldStructure

Namespace
PHCDataLayer
Assembly
PHCDataLayer.dll
public class FieldStructure : BasePropertyStructure
Inheritance
FieldStructure

Properties

AcceptNull

public bool AcceptNull { get; set; }

Property Value

bool

AttributeType

public int AttributeType { get; set; }

Property Value

int

AutoInc

if the value of the field is empty then the DBDataSave will look for the maximum value in the database, increment by one and assign this value to this field

public bool AutoInc { get; set; }

Property Value

bool

CanDuplicate

public bool CanDuplicate { get; set; }

Property Value

bool

CanEditLoop

public bool CanEditLoop { get; set; }

Property Value

bool

CanUseFullTextSearchIndex

public bool CanUseFullTextSearchIndex { get; }

Property Value

bool

Collate

public string Collate { get; set; }

Property Value

string

Decs

public int Decs { get; set; }

Property Value

int

DefaultValue

public string DefaultValue { get; set; }

Property Value

string

DependsOnRecord

Indica que a associação a outra tabela é afectuada em função de um valor específico de uma coluna

public bool DependsOnRecord { get; set; }

Property Value

bool

DynamicIntegrationEntity

public Type DynamicIntegrationEntity { get; set; }

Property Value

Type

Expression

public string Expression { get; set; }

Property Value

string

FieldName

public string FieldName { get; set; }

Property Value

string

FieldType

public Type FieldType { get; set; }

Property Value

Type

Flags

public List<AttFieldType.FieldFlags> Flags { get; set; }

Property Value

List<AttFieldType.FieldFlags>

ForeignKeyField

Indica o campo ao qual está associado no destino, por omissão fica o stamp da entidade de destino

public string ForeignKeyField { get; set; }

Property Value

string

ForeignKeyType

indica o tipo de entidade associada

public Type ForeignKeyType { get; set; }

Property Value

Type

FullDate

public bool FullDate { get; set; }

Property Value

bool

Gama

public Gamas Gama { get; set; }

Property Value

Gamas

Hidden

public bool Hidden { get; set; }

Property Value

bool

HiddenParameter

public string[] HiddenParameter { get; set; }

Property Value

string[]

HiddenParameterValue

public object[] HiddenParameterValue { get; set; }

Property Value

object[]

InputType

public AttFieldType.InputTypes InputType { get; set; }

Property Value

AttFieldType.InputTypes

Interfaces

public List<Type> Interfaces { get; set; }

Property Value

List<Type>

IsForeignKey

public bool IsForeignKey { get; set; }

Property Value

bool

IsJsonField

public bool IsJsonField { get; set; }

Property Value

bool

IsLocale

public bool IsLocale { get; set; }

Property Value

bool

IsMandatory

public bool IsMandatory { get; set; }

Property Value

bool

IsPhcOwner

public bool IsPhcOwner { get; set; }

Property Value

bool

IsPrimaryKey

public bool IsPrimaryKey { get; set; }

Property Value

bool

IsReadOnly

public bool IsReadOnly { get; set; }

Property Value

bool

IsSelectable

public bool IsSelectable { get; set; }

Property Value

bool

IsSerializable

public bool IsSerializable { get; set; }

Property Value

bool

IsSmartField

public bool IsSmartField { get; set; }

Property Value

bool

IsSystem

public bool IsSystem { get; set; }

Property Value

bool

IsTimeField

public bool IsTimeField { get; set; }

Property Value

bool

IsUpdatable

this field is persisted in the database

public bool IsUpdatable { get; set; }

Property Value

bool

IsVirtual

public bool IsVirtual { get; set; }

Property Value

bool

Lenght

public int Lenght { get; set; }

Property Value

int

LocalEntityTypeField

Indica qual o campo da entidade que vai ter armazenado o tipo de entidade associada

public string LocalEntityTypeField { get; set; }

Property Value

string

MandatoryParameter

public string MandatoryParameter { get; set; }

Property Value

string

MandatoryParameterValue

public object MandatoryParameterValue { get; set; }

Property Value

object

Mask

public string Mask { get; set; }

Property Value

string

MaxValue

public decimal MaxValue { get; set; }

Property Value

decimal

MaxValueHasValue

public bool MaxValueHasValue { get; }

Property Value

bool

MinValue

public decimal MinValue { get; set; }

Property Value

decimal

MinValueHasValue

public bool MinValueHasValue { get; }

Property Value

bool

Products

public List<int> Products { get; set; }

Property Value

List<int>

PropertyType

public override Type PropertyType { get; }

Property Value

Type

Revision

Indicates the field that stores the current version of the record

public bool Revision { get; set; }

Property Value

bool

SmartFieldFlags

public List<AttSmartField.SmartFieldFlags> SmartFieldFlags { get; set; }

Property Value

List<AttSmartField.SmartFieldFlags>

SyncOnChange

public bool SyncOnChange { get; set; }

Property Value

bool

TableName

public string TableName { get; set; }

Property Value

string

TimeFormat

public string TimeFormat { get; set; }

Property Value

string

Viewlist

public AttList Viewlist { get; set; }

Property Value

AttList

Methods

Contains(string)

public bool Contains(string findValue)

Parameters

Nome Tipo Descrição
findValue string

Returns

bool

GetSqlExpression()

Get the field with table alias and brackets, example: [FT].[NOME]

public string GetSqlExpression()

Returns

string

ToString()

public override string ToString()

Returns

string