Example #1
0
        public MdlFirm AddNewFormDnH(MdlPartner obj)
        {
            MdlFirm         Fmodel           = new MdlFirm();
            MdlPartner      model            = new MdlPartner();
            ObjectParameter objParamOrgDocID = new ObjectParameter("OrgDocID", typeof(long));

            _dbFirms.usp_InsertFormDnHEntry(obj.OrgId, obj.FormDSubmissionDate, null, null, null, null, obj.EnterByUser_ID, objParamOrgDocID);
            //this is for organization id
            Fmodel.ExistingOrgDocID = obj.OrgId;
            Fmodel.OrgName          = obj.OrgName;
            //new form H orgdoc_id
            Fmodel.OrgDocID = Convert.ToInt64(objParamOrgDocID.Value);

            return(Fmodel);
        }