protected bool IsSiteHubExist(int siteid, int Hubid) { bool sitehubexist = false; objHubToSite = objHubToSite.Get_By_Siteid_Hubid(siteid, Hubid); if (objHubToSite.Hubid != 0) { sitehubexist = true; } return(sitehubexist); }
//update hub public int Update_Hub_mst_By_id(HubToSiteMapping objhubtosite) { return (int)ExecuteNonQuery(Sp_Hub_Update, new object[] { objhubtosite.Siteid, objhubtosite.Hubid }); }
public int Insert_Hubsite_mst(HubToSiteMapping objhubtosite) { return (int)ExecuteNonQuery(Sp_Hubsite_Insert, new object[] { objhubtosite.Hubid, objhubtosite.Siteid }); }
public object GenerateHubTositemapping_mstObject(ref IDataReader returnData) { HubToSiteMapping obj = new HubToSiteMapping(); while (returnData.Read()) { obj.Hubid = (int)returnData["Hubid"]; } returnData.Close(); returnData.Dispose(); return obj; }
protected bool IsSiteHubExist(int siteid,int Hubid) { bool sitehubexist = false; objHubToSite = objHubToSite.Get_By_Siteid_Hubid(siteid,Hubid); if (objHubToSite.Hubid != 0) { sitehubexist = true; } return sitehubexist; }
protected int Hubid(int siteid) { objHubToSite = objHubToSite.Get_By_Siteid(siteid); return objHubToSite.Hubid; }
protected int Hubid(int siteid) { objHubToSite = objHubToSite.Get_By_Siteid(siteid); return(objHubToSite.Hubid); }