Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public void LoadSourceHome(int brandid, string homename) { SQSSourceHome.Clear(); client = new SQSAdminServiceClient(); client.Endpoint.Address = new System.ServiceModel.EndpointAddress(CommonVariables.WcfEndpoint); DataSet ds = client.SQSAdmin_HomeMinimumArea_GetSourceHomeByBrand(brandid, homename); client.Close(); foreach (DataRow dr in ds.Tables[0].Rows) { Home b = new Home(); b.HomeID = int.Parse(dr["homeid"].ToString()); b.HomeName = dr["homename"].ToString(); b.Configured = true; SQSSourceHome.Add(b); } }