Beispiel #1
0
        internal long UpdateInstitute(InstituteManagement _objInstituteManagement)
        {
            Hashtable ht = new Hashtable();

            ht.Add("InstitutionID", _objInstituteManagement.InstitutionID);
            ht.Add("InstitutionCode", _objInstituteManagement.InstitutionCode);
            ht.Add("InstitutionType", _objInstituteManagement.InstitutionType);
            ht.Add("InstitutionCategory", _objInstituteManagement.InstitutionCategory);
            ht.Add("InstitutionName", _objInstituteManagement.InstitutionName);
            ht.Add("Logo", _objInstituteManagement.Logo);
            ht.Add("Longitute", _objInstituteManagement.Longitute);
            ht.Add("Latitude", _objInstituteManagement.Latitude);
            ht.Add("DivisionID", _objInstituteManagement.DivisionID);
            ht.Add("DistrictID", _objInstituteManagement.DistrictID);
            ht.Add("ThanaID", _objInstituteManagement.ThanaID);
            ht.Add("Address", _objInstituteManagement.Address);
            ht.Add("Telephone", _objInstituteManagement.Telephone);
            ht.Add("Fax", _objInstituteManagement.Fax);
            ht.Add("Email", _objInstituteManagement.Email);
            ht.Add("Website", _objInstituteManagement.Website);
            ht.Add("SocialSiteInfo", _objInstituteManagement.SocialSiteInfo);
            ht.Add("EstablishedYear", _objInstituteManagement.EstablishedYear);
            ht.Add("Remarks", _objInstituteManagement.Remarks);
            ht.Add("CreatedBy", _objInstituteManagement.CreatedBy);
            ht.Add("TotalArea", _objInstituteManagement.TotalArea);
            ht.Add("NoOfAcademicBuilding", _objInstituteManagement.NoOfAcademicBuilding);
            ht.Add("NoOfLab", _objInstituteManagement.NoOfLab);

            ht.Add("TotalInvestment", _objInstituteManagement.TotalInvestment);
            ht.Add("InitialInvestment", _objInstituteManagement.InitialInvestment);

            ht.Add("CreatedPC", _objInstituteManagement.CreatedPC);

            return(Convert.ToInt64(idbutility.InsertData(ht, "sp_UpdateInstituteManagement")));
        }
Beispiel #2
0
        internal long DeleteInstitute(InstituteManagement _objInstituteManagement)
        {
            Hashtable ht = new Hashtable();

            ht.Add("InstitutionID", _objInstituteManagement.InstitutionID);
            ht.Add("DeletedBy", _objInstituteManagement.DeletedBy);
            ht.Add("DeletedPC", _objInstituteManagement.DeletedPC);
            return(Convert.ToInt64(idbutility.InsertData(ht, "sp_DeleteInstitution")));
        }
Beispiel #3
0
        internal static long UpdateInstitute(InstituteManagement _objInstituteManagement)
        {
            DAInstituteManagement _objDAInstituteManagement = new DAInstituteManagement();

            return(Convert.ToInt64(_objDAInstituteManagement.UpdateInstitute(_objInstituteManagement)));
        }