Auf Englisch lesen

Freigeben über


Uniquifier Class

Definition

Provides methods for manipulating string identifiers.

C#
public static 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.

Truncate(String, Int32, String, Nullable<Int32>)

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

Uniquify(String, ISet<String>, String, Int32)

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

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

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

Uniquify<T>(String, IReadOnlyDictionary<String,T>, String, 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.

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

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

Applies to

Produkt Versionen
Entity Framework Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0