Cannot convert type 'WpfA.DataClass.tblGroup' to 'WpfA.Group'
The table has two columns. 

columns1= IdGroup

columns2= Hgroup

    
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            this.SetData();
        }
        private void SetData()
        {
            using (DataClass.DataClassesAccDataContext DataContext = new DataClass.DataClassesAccDataContext())
            {
                List<Group> myGroup = (Group)DataContext.tblGroup.ToList();
            }
        }
    }

    public class Group
    {
        public string Name { get; set; }
        public string Family { get; set; }
        public bool Selecting { get; set; }
    }

error :

Cannot convert type 'WpfA.DataClass.tblGroup' to 'WpfA.Group'

![enter image description here][1]


  [1]: http://i.stack.imgur.com/RPQU0.jpg
Cannot convert type 'WpfA.DataClass.tblGroup' to 'WpfA.Group'
===

The table has two columns. 

columns1= IdGroup

columns2= Hgroup

    
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            this.SetData();
        }
        private void SetData()
        {
            using (DataClass.DataClassesAccDataContext DataContext = new DataClass.DataClassesAccDataContext())
            {
                List<Group> myGroup = (Group)DataContext.tblGroup.ToList();
            }
        }
    }

    public class Group
    {
        public string Name { get; set; }
        public string Family { get; set; }
        public bool Selecting { get; set; }
    }

error :

Cannot convert type 'WpfA.DataClass.tblGroup' to 'WpfA.Group'

![enter image description here][1]


  [1]: http://i.stack.imgur.com/RPQU0.jpg