Class AttForeignKey
- Namespace
- PHCDataLayer
- Assembly
- PHCDataLayer.dll
Foreign Key field to another table. É automaticamente criado um índice por este campo
[AttributeUsage(AttributeTargets.Property)]
public class AttForeignKey : AttGeneric, _Attribute
- Inheritance
-
AttForeignKey
Constructors
AttForeignKey()
AttForeignKey(bool)
public AttForeignKey(bool canDuplicate)
Parameters
| Nome |
Tipo |
Descrição |
canDuplicate |
bool |
|
AttForeignKey(bool, Type)
public AttForeignKey(bool canDuplicate, Type foreignType)
Parameters
| Nome |
Tipo |
Descrição |
canDuplicate |
bool |
|
foreignType |
Type |
|
AttForeignKey(Type)
public AttForeignKey(Type foreignType)
Parameters
| Nome |
Tipo |
Descrição |
foreignType |
Type |
|
Properties
CanDuplicate
public bool CanDuplicate { get; set; }
Property Value
- bool
DependsOnRecord
public bool DependsOnRecord { get; set; }
Property Value
- bool
Field
public string Field { get; set; }
Property Value
- string
ForeignType
public Type ForeignType { get; set; }
Property Value
- Type
HiddenField
public bool HiddenField { get; set; }
Property Value
- bool
LocalEntityTypeField
Indica em que campo é que o tipo da entidade fica armazenado no caso da ligação estar armazenado numa coluna e ser dinâmico
public string LocalEntityTypeField { get; set; }
Property Value
- string
Order
public override int Order { get; set; }
Property Value
- int