I have the the database like in the [picture](http://i.stack.imgur.com/wvtGy.jpg) and the code below:

```
Int32 row_count = ctx.Database.SqlQuery<Int32>("select count(*) from Categories").FirstOrDefault<Int32>() ;

```

I want to write the code that is the same or similar to the code below:

```
private void FillDataToList(string Prefix)
    {
    BindingSource bs = new BindingSource();
    using (var ctx=new CambbusPOSEntities()){
      foreach(obj in ctx.SQLManager.Where(a=>a.Entity==Prefix)){
        var query = ctx.Database.SqlQuery<List>(obj.SQL).ToList();
        bs.DataSource = query;
      }
}

```

}

But it show the error:

Using the generic type 'System.collections.Generic.List' requires 1 type arguments

So do we have another way that use with sql statement in entity?Because I want to store all sql statement in database. Thank you