/// <summary> /// 创建默认的聚合块对象 /// </summary> /// <param name="entityType"></param> /// <returns></returns> public AggtBlocks GetDefaultBlocks(Type entityType) { //默认模板使用代码结构生成 var template = new CodeBlocksTemplate { EntityType = entityType }; return template.GetBlocks(); }
/// <summary> /// 创建默认的聚合块对象 /// </summary> /// <param name="entityType"></param> /// <returns></returns> public AggtBlocks GetDefaultBlocks(Type entityType) { //默认模板使用代码结构生成 var template = new CodeBlocksTemplate { EntityType = entityType }; return(template.GetBlocks()); }