/// <summary>
        /// 批量获取元数据对象
        /// </summary>
        /// <param name="tenantId"></param>
        /// <param name="metaObjectNames"></param>
        /// <returns></returns>
        public static Dictionary <string, MetaObject> GetMetaObjects(int tenantId, params string[] metaObjectNames)
        {
            Dictionary <string, MetaObject> dic = new Dictionary <string, MetaObject>();

            foreach (var metaObjectName in metaObjectNames)
            {
                try
                {
                    dic.Add(metaObjectName, MetaObjectProvider.GetObjectMeta(metaObjectName, tenantId));
                }
                catch (Exception ex)
                {
                    AppConnectLogHelper.ErrorFormat("批量获取元数据对象出现了问题,出错对象名为}");
                }
            }

            return(dic);
        }
        public static ObjectData ConvertJsonToObjectData(ObjectDataFromJson dataObject, int tenantId, string metaObjectName)
        {
            MetaObject metaData = MetaObjectProvider.GetObjectMeta(metaObjectName, tenantId);

            return(ConvertJsonToObjectData(dataObject, tenantId, metaData));
        }
 /// <summary>
 /// 根据租户和对象名获取一个指定的元数据
 /// </summary>
 /// <param name="tenantId">租户ID</param>
 /// <param name="metaObjectName">元数据对象名称</param>
 /// <returns>元数据MetaObject</returns>
 public static MetaObject GetMetaObject(int tenantId, string metaObjectName)
 {
     return(MetaObjectProvider.GetObjectMeta(metaObjectName, tenantId));
 }