public int New_(string p_response, ChroniGenNHibernate.Enumerated.Chroni.ReclamationResponseActionStateEnum p_actionState, Nullable <DateTime> p_createdDate, int p_reclamation)
        {
            ReclamationResponseEN reclamationResponseEN = null;
            int oid;

            //Initialized ReclamationResponseEN
            reclamationResponseEN          = new ReclamationResponseEN();
            reclamationResponseEN.Response = p_response;

            reclamationResponseEN.ActionState = p_actionState;

            reclamationResponseEN.CreatedDate = p_createdDate;


            if (p_reclamation != -1)
            {
                // El argumento p_reclamation -> Property reclamation es oid = false
                // Lista de oids identifier
                reclamationResponseEN.Reclamation            = new ChroniGenNHibernate.EN.Chroni.ReclamationEN();
                reclamationResponseEN.Reclamation.Identifier = p_reclamation;
            }

            //Call to ReclamationResponseCAD

            oid = _IReclamationResponseCAD.New_(reclamationResponseEN);
            return(oid);
        }
        public void Modify(int p_ReclamationResponse_OID, string p_response, ChroniGenNHibernate.Enumerated.Chroni.ReclamationResponseActionStateEnum p_actionState, Nullable <DateTime> p_createdDate)
        {
            ReclamationResponseEN reclamationResponseEN = null;

            //Initialized ReclamationResponseEN
            reclamationResponseEN             = new ReclamationResponseEN();
            reclamationResponseEN.Identifier  = p_ReclamationResponse_OID;
            reclamationResponseEN.Response    = p_response;
            reclamationResponseEN.ActionState = p_actionState;
            reclamationResponseEN.CreatedDate = p_createdDate;
            //Call to ReclamationResponseCAD

            _IReclamationResponseCAD.Modify(reclamationResponseEN);
        }
        private void init(int identifier
                          , string response, ChroniGenNHibernate.Enumerated.Chroni.ReclamationResponseActionStateEnum actionState, Nullable <DateTime> createdDate, ChroniGenNHibernate.EN.Chroni.ReclamationEN reclamation)
        {
            this.Identifier = identifier;


            this.Response = response;

            this.ActionState = actionState;

            this.CreatedDate = createdDate;

            this.Reclamation = reclamation;
        }
 public ReclamationResponseEN(int identifier, string response, ChroniGenNHibernate.Enumerated.Chroni.ReclamationResponseActionStateEnum actionState, Nullable <DateTime> createdDate, ChroniGenNHibernate.EN.Chroni.ReclamationEN reclamation
                              )
 {
     this.init(Identifier, response, actionState, createdDate, reclamation);
 }