Maybe I\'m overworked, but this isn\'t compiling (CS0411). Why?
interface ISignatur
{
Type Type { get; }
}
interface IAccess where
I received this error because I had made a mistake in the definition of my method. I had declared the method to accept a generic type (notice the "T" after the method name):
protected int InsertRecord(CoasterModel model, IDbConnection con)
However, when I called the method, I did not use the type which, in my case, was the correct usage:
int count = InsertRecord(databaseToMigrateFrom, con);
I just removed the generic casting and it worked.