Class FieldStructure
- Namespace
- PHCDataLayer
- Assembly
- PHCDataLayer.dll
public class FieldStructure : BasePropertyStructure
- Inheritance
-
FieldStructure
Properties
AcceptNull
public bool AcceptNull { get; set; }
Property Value
AttributeType
public int AttributeType { get; set; }
Property Value
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
CanDuplicate
public bool CanDuplicate { get; set; }
Property Value
CanEditLoop
public bool CanEditLoop { get; set; }
Property Value
CanUseFullTextSearchIndex
public bool CanUseFullTextSearchIndex { get; }
Property Value
Collate
public string Collate { get; set; }
Property Value
Decs
public int Decs { get; set; }
Property Value
DefaultValue
public string DefaultValue { get; set; }
Property Value
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
DynamicIntegrationEntity
public Type DynamicIntegrationEntity { get; set; }
Property Value
Expression
public string Expression { get; set; }
Property Value
FieldName
public string FieldName { get; set; }
Property Value
FieldType
public Type FieldType { get; set; }
Property Value
Flags
public List<AttFieldType.FieldFlags> Flags { get; set; }
Property Value
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
ForeignKeyType
indica o tipo de entidade associada
public Type ForeignKeyType { get; set; }
Property Value
FullDate
public bool FullDate { get; set; }
Property Value
Gama
public Gamas Gama { get; set; }
Property Value
Hidden
public bool Hidden { get; set; }
Property Value
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
Interfaces
public List<Type> Interfaces { get; set; }
Property Value
IsForeignKey
public bool IsForeignKey { get; set; }
Property Value
IsJsonField
public bool IsJsonField { get; set; }
Property Value
IsLocale
public bool IsLocale { get; set; }
Property Value
IsMandatory
public bool IsMandatory { get; set; }
Property Value
IsPhcOwner
public bool IsPhcOwner { get; set; }
Property Value
IsPrimaryKey
public bool IsPrimaryKey { get; set; }
Property Value
IsReadOnly
public bool IsReadOnly { get; set; }
Property Value
IsSelectable
public bool IsSelectable { get; set; }
Property Value
IsSerializable
public bool IsSerializable { get; set; }
Property Value
IsSmartField
public bool IsSmartField { get; set; }
Property Value
IsSystem
public bool IsSystem { get; set; }
Property Value
IsTimeField
public bool IsTimeField { get; set; }
Property Value
IsUpdatable
this field is persisted in the database
public bool IsUpdatable { get; set; }
Property Value
IsVirtual
public bool IsVirtual { get; set; }
Property Value
Lenght
public int Lenght { get; set; }
Property Value
LocalEntityTypeField
Indica qual o campo da entidade que vai ter armazenado o tipo de entidade associada
public string LocalEntityTypeField { get; set; }
Property Value
MandatoryParameter
public string MandatoryParameter { get; set; }
Property Value
MandatoryParameterValue
public object MandatoryParameterValue { get; set; }
Property Value
Mask
public string Mask { get; set; }
Property Value
MaxValue
public decimal MaxValue { get; set; }
Property Value
MaxValueHasValue
public bool MaxValueHasValue { get; }
Property Value
MinValue
public decimal MinValue { get; set; }
Property Value
MinValueHasValue
public bool MinValueHasValue { get; }
Property Value
Products
public List<int> Products { get; set; }
Property Value
PropertyType
public override Type PropertyType { get; }
Property Value
Revision
Indicates the field that stores the current version of the record
public bool Revision { get; set; }
Property Value
SmartFieldFlags
public List<AttSmartField.SmartFieldFlags> SmartFieldFlags { get; set; }
Property Value
SyncOnChange
public bool SyncOnChange { get; set; }
Property Value
TableName
public string TableName { get; set; }
Property Value
TimeFormat
public string TimeFormat { get; set; }
Property Value
Viewlist
public AttList Viewlist { get; set; }
Property Value
Methods
Contains(string)
public bool Contains(string findValue)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
findValue |
string |
Returns
GetSqlExpression()
Get the field with table alias and brackets, example: [FT].[NOME]
public string GetSqlExpression()
Returns
ToString()
public override string ToString()