static TableUserCache()
        {
            try
            {
                ConnectionString = new TConfigManager().GetConnectionString();
                var entityModelFactory = new EntityModelFactory();
                entityModelFactory.ConnectionString = ConnectionString;

                tmpUserCacheTableName = "tmp_user_cache";

                if (entityModelFactory.ExistModelMeta(tmpUserCacheTableName))
                {
                    return;
                }

                var entityModelMeta = new EntityModelMeta();
                entityModelMeta.EntityName       = tmpUserCacheTableName;
                entityModelMeta.ConnectionString = ConnectionString;

                entityModelMeta.Add("id", new EntityKeyMetaType
                {
                    EntityKeyType = typeof(Guid),
                    FieldType     = new KeyValuePair <string, string>[2]
                    {
                        new KeyValuePair <string, string>(SqlFieldType.NotNull, ""),
                        new KeyValuePair <string, string>(SqlFieldType.PrimaryKey, "")
                    }
                });

                entityModelMeta.Add("key", new EntityKeyMetaType
                {
                    EntityKeyType = typeof(string),
                    FieldType     = new KeyValuePair <string, string>[1]
                    {
                        new KeyValuePair <string, string>(SqlFieldType.NotNull, "")
                    }
                });

                entityModelMeta.Add("value", new EntityKeyMetaType
                {
                    EntityKeyType = typeof(StringBuilder)
                });

                entityModelMeta.Add("create_time", new EntityKeyMetaType
                {
                    EntityKeyType = typeof(DateTime),
                    FieldType     = new KeyValuePair <string, string>[1]
                    {
                        new KeyValuePair <string, string>(SqlFieldType.DefaultValueCurrentDateTime, "")
                    }
                });

                entityModelMeta.Add("update_time", new EntityKeyMetaType
                {
                    EntityKeyType = typeof(DateTime),
                    FieldType     = new KeyValuePair <string, string>[1]
                    {
                        new KeyValuePair <string, string>(SqlFieldType.DefaultValueCurrentDateTimeAndUpdateTime, "")
                    }
                });

                entityModelFactory.CreateEntityModelMeta(entityModelMeta);
            }
            catch (Exception)
            {
            }
            finally
            {
                Refresh();
            }
        }