Exemplo n.º 1
0
 public RelacaoAttribute(string[] campos,
                         RelacaoTipo tipo = RelacaoTipo.NoUpdate,
                         Type ownerType   = null, object ownerProp = null, object ownerObj = null)
 {
     Campos    = campos;
     Tipo      = tipo;
     OwnerType = ownerType;
     OwnerProp = ownerProp as PropertyInfo;
     OwnerObj  = ownerObj;
 }
Exemplo n.º 2
0
 public RelacaoAttribute(string campo,
                         RelacaoTipo tipo = RelacaoTipo.NoUpdate)
 {
     Tipo   = tipo;
     Campos = new[] { campo };
 }