Spark Domain Generator class SqlMap map["bit"] = "boolean";
I generated the project and then received an error.
The type or namespace name 'boolean' could not be found (areyou missing a using directive or an assembly reference?) Path\_Spark\Domain.cs Project.Domain.
I know “bool” is an alias of System.Boolean. http://msdn.microsoft.com/en-us/library/c8f5xwh7.aspx
Unless I am missing something, I would recommend changingthe SQL map to “bool” in DomainGenerator.tt and RestGenerator.tt files.
static readonly Dictionary<string,string> map = new Dictionary<string, string>();
map["bit"] = "bool”;
After updating the SqlMap and regenerating, all was good.
Stan Spilman, Oct 27, 2013
You are absolutely correct,
In fact, the error was detected a few weeks ago and a fix was made available to the downloads.
Unfortunately it seems that you downloaded just before the correction. Sorry about that.
Jack Poorte, Oct 27, 2013