Method SerializePrimaryKeysToJson
SerializePrimaryKeysToJson<T>(PrimaryKeys<T>)
Serializes the PrimaryKeys<T> object to a JSON string.
public static string SerializePrimaryKeysToJson<T>(this PrimaryKeys<T> primaryKeys)
Parameters
primaryKeysPrimaryKeys<T>The PrimaryKeys<T> object.
Returns
- string
A JSON string representation of the primary keys.
Type Parameters
TThe type of the entity.