open AutoModels.tt fileļ¼change the database value first:
var @namespace = "Kooboo.CMS.Toolkit";
var database = "SampleSite";//change this with your site database name
ar schemaDir = .....
Then Right click the file ,Select "Run Custom Tool".
If you get an Schema path error, just close the project,then restart the project ,
or set the schemaDir with an absolute path.
Regards,
NJ Wu
Kooboo3 Fans
http://www.qiyeqiye.com