i tried using LINQ in webmatrix and the following error was generated.
The error: Model compatibility cannot be checked because the database does not contain model metadata. Model compatibility can only be checked for databases created using Code First or Code First Migrations.
the error generation code :
foreach(var c in categories)
{
db.Categories.Add(c);
};
how do i go about this problem ?