Exemplo n.º 1
0
        public static string GetTableName(Type entityType)
        {
            if (TableDescriptors.TryGetValue(entityType, out TableDescriptor value))
            {
                return(value.Name);
            }

            return(null);
        }
Exemplo n.º 2
0
        public static bool IsNormalLogTable(Type entityType)
        {
            TableDescriptors.TryGetValue(entityType, out TableDescriptor value);

            return(value != null && value.TableKind == TableKind.Log);
        }
Exemplo n.º 3
0
        public static bool IsDynamicConfigTable(Type entityType)
        {
            TableDescriptors.TryGetValue(entityType, out TableDescriptor value);

            return(value != null && value.TableKind == TableKind.DynamicConfig);
        }