예제 #1
0
 /// <summary>
 /// 创建代码虚类
 /// </summary>
 public virtual void CreateCode()
 {
     //整理文档
     if (null != BuildResult)
     {
         BuildResult.FormatDocument();
     }
     if (null != Dte)
     {
         if (IsStaticModel)
         {
             Dte.OutString(string.Format("创建目标{0}的实体{1}代码完成....", Construct, ModelEntity.Entity));
         }
         else
         {
             Dte.OutString(string.Format("创建目标{0}的代码完成....", Construct));
         }
     }
 }