예제 #1
0
파일: Relacao.cs 프로젝트: galegin/MORM
 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;
 }
예제 #2
0
파일: Relacao.cs 프로젝트: galegin/MORM
 public RelacaoAttribute(string campo,
                         RelacaoTipo tipo = RelacaoTipo.NoUpdate)
 {
     Tipo   = tipo;
     Campos = new[] { campo };
 }