Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public void LoadConfiguredAreasForHome(int homeid) { ConfiguredAreas.Clear(); client = new SQSAdminServiceClient(); client.Endpoint.Address = new System.ServiceModel.EndpointAddress(CommonVariables.WcfEndpoint); DataSet ds = client.SQSAdmin_Generic_GetConfiguredAreasByHome(homeid); client.Close(); foreach (DataRow dr in ds.Tables[0].Rows) { CommonResource.Area b = new CommonResource.Area(); b.AreaID = int.Parse(dr["areaid"].ToString()); b.AreaName = dr["areaname"].ToString(); ConfiguredAreas.Add(b); } }