public void Modify(int p_Reclamation_OID, ChroniGenNHibernate.Enumerated.Chroni.ReclamationActionEnum p_action, string p_subject, string p_content, Nullable <DateTime> p_startDate, string p_note, bool p_resolved, ChroniGenNHibernate.Enumerated.Chroni.ReclamationTypeEnum p_type)
        {
            ReclamationEN reclamationEN = null;

            //Initialized ReclamationEN
            reclamationEN            = new ReclamationEN();
            reclamationEN.Identifier = p_Reclamation_OID;
            reclamationEN.Action     = p_action;
            reclamationEN.Subject    = p_subject;
            reclamationEN.Content    = p_content;
            reclamationEN.StartDate  = p_startDate;
            reclamationEN.Note       = p_note;
            reclamationEN.Resolved   = p_resolved;
            reclamationEN.Type       = p_type;
            //Call to ReclamationCAD

            _IReclamationCAD.Modify(reclamationEN);
        }
 public ReclamationEN(int identifier, ChroniGenNHibernate.Enumerated.Chroni.ReclamationActionEnum action, string subject, string content, Nullable <DateTime> startDate, ChroniGenNHibernate.EN.Chroni.ReclamationResponseEN reclamationResponse, ChroniGenNHibernate.EN.Chroni.PatientEN patient, ChroniGenNHibernate.EN.Chroni.PractitionerEN practitioner, string note, bool resolved, ChroniGenNHibernate.Enumerated.Chroni.ReclamationTypeEnum type, ChroniGenNHibernate.EN.Chroni.RelatedPersonEN relatedPerson
                      )
 {
     this.init(Identifier, action, subject, content, startDate, reclamationResponse, patient, practitioner, note, resolved, type, relatedPerson);
 }
        private void init(int identifier
                          , ChroniGenNHibernate.Enumerated.Chroni.ReclamationActionEnum action, string subject, string content, Nullable <DateTime> startDate, ChroniGenNHibernate.EN.Chroni.ReclamationResponseEN reclamationResponse, ChroniGenNHibernate.EN.Chroni.PatientEN patient, ChroniGenNHibernate.EN.Chroni.PractitionerEN practitioner, string note, bool resolved, ChroniGenNHibernate.Enumerated.Chroni.ReclamationTypeEnum type, ChroniGenNHibernate.EN.Chroni.RelatedPersonEN relatedPerson)
        {
            this.Identifier = identifier;


            this.Action = action;

            this.Subject = subject;

            this.Content = content;

            this.StartDate = startDate;

            this.ReclamationResponse = reclamationResponse;

            this.Patient = patient;

            this.Practitioner = practitioner;

            this.Note = note;

            this.Resolved = resolved;

            this.Type = type;

            this.RelatedPerson = relatedPerson;
        }
        public int New_(ChroniGenNHibernate.Enumerated.Chroni.ReclamationActionEnum p_action, string p_subject, string p_content, Nullable <DateTime> p_startDate, int p_practitioner, string p_note, bool p_resolved, ChroniGenNHibernate.Enumerated.Chroni.ReclamationTypeEnum p_type)
        {
            /*PROTECTED REGION ID(ChroniGenNHibernate.CEN.Chroni_Reclamation_new__customized) START*/

            ReclamationEN reclamationEN = null;

            int oid;

            //Initialized ReclamationEN
            reclamationEN        = new ReclamationEN();
            reclamationEN.Action = p_action;

            reclamationEN.Subject = p_subject;

            reclamationEN.Content = p_content;

            reclamationEN.StartDate = p_startDate;


            if (p_practitioner != -1)
            {
                reclamationEN.Practitioner            = new ChroniGenNHibernate.EN.Chroni.PractitionerEN();
                reclamationEN.Practitioner.Identifier = p_practitioner;
            }

            reclamationEN.Note = p_note;

            reclamationEN.Resolved = p_resolved;

            reclamationEN.Type = p_type;

            //Call to ReclamationCAD

            oid = _IReclamationCAD.New_(reclamationEN);
            return(oid);
            /*PROTECTED REGION END*/
        }