亚音速3,MySQL T4模板:Structs.tt失败

亚音速3,MySQL T4模板:Structs.tt失败,mysql,subsonic,subsonic3,Mysql,Subsonic,Subsonic3,有人能帮忙吗?当我尝试生成Structs.cs文件时,由于MySQL提供程序没有返回SchemaName,因此进程失败并出现错误 " 运行转换时出现错误3:System.ArgumentNullException:值不能为null。 参数名称:objectToConvert 在Microsoft.VisualStudio.textTemplateing.ToStringHelper.ToStringWithCulture(对象objectToConvert)中 在Microsoft.Visual

有人能帮忙吗?当我尝试生成Structs.cs文件时,由于MySQL提供程序没有返回SchemaName,因此进程失败并出现错误

" 运行转换时出现错误3:System.ArgumentNullException:值不能为null。 参数名称:objectToConvert 在Microsoft.VisualStudio.textTemplateing.ToStringHelper.ToStringWithCulture(对象objectToConvert)中 在Microsoft.VisualStudio.textTemplating3B02BC645E0D86C85EB7201F039F235.GeneratedTextTransformation.TransformText()…”

这是在Structs.cs中生成的代码:

    /// <summary>
    /// Table: _companies
    /// Primary Key: ID
    /// </summary>

    public class _companiesTable: DatabaseTable {

        public _companiesTable(IDataProvider provider):base("_companies",provider){
            ClassName = "_company";
            SchemaName = "
//
///表:\ u公司
///主键:ID
/// 
公共类公司表:数据库表{
公共公司表(IDataProvider provider):基础(“公司”,provider){
ClassName=“_公司”;
SchemaName=”
我尝试过使用MySQL connector 6.04和5.1,以及MySQL服务器版本5.067和5.1.33,结果相同

这是“公司”表的架构:

--表“公司”DDL

创建表格
公司
(
ID
int(10)非空自动增量, 主键(
ID
) )ENGINE=InnoDB AUTO_INCREMENT=32默认字符集=1


有人能帮忙吗?

你能把这个作为问题输入吗