Share via


Uniquifier Class

Definition

Provides methods for manipulating string identifiers.

public static class Uniquifier
type Uniquifier = class
Public Class Uniquifier
Inheritance
Uniquifier

Remarks

See Implementation of database providers and extensions for more information and examples.

Methods

Truncate(String, Int32, Nullable<Int32>)

Ensures the given identifier is shorter than the given length by removing the extra characters from the end.

Uniquify<T>(String, IReadOnlyDictionary<String,T>, Int32)

Creates a unique identifier by appending a number to the given string.

Uniquify<TKey,TValue>(String, IReadOnlyDictionary<TKey,TValue>, Func<String,TKey>, Int32)

Creates a unique identifier by appending a number to the given string.

Applies to