/// <summary>Default Constructor</summary>
 public PasajeroInstance(ONContext onContext) : base(onContext, "Pasajero", "Clas_1348178542592658_Alias")
 {
     Oid        = new PasajeroOid();
     NombreAttr = null;
     PasajeroAeronaveRoleTemp = null;
     StateObjAttrTemp         = null;
 }
 /// <summary>Default Constructor</summary>
 public RevisionPasajeroInstance(ONContext onContext) : base(onContext, "RevisionPasajero", "Clas_1348178673664478_Alias")
 {
     Oid = new RevisionPasajeroOid();
     RevisionRoleTemp            = null;
     RevisionRoleOidTemp         = null;
     PasajeroAeronaveRoleTemp    = null;
     PasajeroAeronaveRoleOidTemp = null;
     StateObjAttrTemp            = null;
 }
示例#3
0
 /// <summary>Default Constructor</summary>
 public AeronaveInstance(ONContext onContext) : base(onContext, "Aeronave", "Clas_1348178411520734_Alias")
 {
     Oid                      = new AeronaveOid();
     NombreAttr               = null;
     MaximoPasajerosAttr      = ONInt.Null;
     OrigenAttr               = null;
     DestinoAttr              = null;
     PasajeroAeronaveRoleTemp = null;
     StateObjAttrTemp         = null;
 }
        public override void Copy(ONInstance instance)
        {
            PasajeroInstance linstance = instance as PasajeroInstance;

            Oid = new PasajeroOid(linstance.Oid);

            if ((object)linstance.NombreAttrTemp != null)
            {
                NombreAttrTemp = new ONText(linstance.NombreAttrTemp);
            }
            else
            {
                NombreAttrTemp = null;
            }
            PasajeroAeronaveRoleTemp = linstance.PasajeroAeronaveRoleTemp;
            StateObj = new ONString(linstance.StateObj);

            base.Copy(instance);
        }
        public override void Copy(ONInstance instance)
        {
            RevisionPasajeroInstance linstance = instance as RevisionPasajeroInstance;

            Oid = new RevisionPasajeroOid(linstance.Oid);

            RevisionRoleTemp = linstance.RevisionRoleTemp;
            if (linstance.RevisionRoleOidTemp != null)
            {
                RevisionRoleOidTemp = new RevisionOid(linstance.RevisionRoleOidTemp);
            }
            PasajeroAeronaveRoleTemp = linstance.PasajeroAeronaveRoleTemp;
            if (linstance.PasajeroAeronaveRoleOidTemp != null)
            {
                PasajeroAeronaveRoleOidTemp = new PasajeroAeronaveOid(linstance.PasajeroAeronaveRoleOidTemp);
            }
            StateObj = new ONString(linstance.StateObj);

            base.Copy(instance);
        }
示例#6
0
        public override void Copy(ONInstance instance)
        {
            AeronaveInstance linstance = instance as AeronaveInstance;

            Oid = new AeronaveOid(linstance.Oid);

            if ((object)linstance.NombreAttrTemp != null)
            {
                NombreAttrTemp = new ONText(linstance.NombreAttrTemp);
            }
            else
            {
                NombreAttrTemp = null;
            }
            MaximoPasajerosAttr = new ONInt(linstance.MaximoPasajerosAttr);
            if ((object)linstance.OrigenAttrTemp != null)
            {
                OrigenAttrTemp = new ONText(linstance.OrigenAttrTemp);
            }
            else
            {
                OrigenAttrTemp = null;
            }
            if ((object)linstance.DestinoAttrTemp != null)
            {
                DestinoAttrTemp = new ONText(linstance.DestinoAttrTemp);
            }
            else
            {
                DestinoAttrTemp = null;
            }
            PasajeroAeronaveRoleTemp = linstance.PasajeroAeronaveRoleTemp;
            StateObj = new ONString(linstance.StateObj);

            base.Copy(instance);
        }