private void Form1_Load(object sender, EventArgs e) { using (RedisClient client = new RedisClient("localhost", 6379)) { IRedisTypedClient <Phone> phone = client.As <Phone>(); phoneBindingSource.DataSource = phone.GetAll(); phone. Edit(true); } }