Signum.Engine.DiffIndex.GetIndexType C# (CSharp) Method

GetIndexType() private static method

private static GetIndexType ( Index mix ) : DiffIndexType?
mix Signum.Engine.Maps.Index
return DiffIndexType?
        private static DiffIndexType? GetIndexType(Index mix)
        {
            if (mix is UniqueIndex && ((UniqueIndex)mix).ViewName != null)
                return null;

            if (mix is PrimaryClusteredIndex)
                return DiffIndexType.Clustered;

            return DiffIndexType.NonClustered;
        }