Class IPrimaryKeyExtensions
Provides extension methods for working with IPrimaryKey objects.
public static class IPrimaryKeyExtensions
- Inheritance
-
IPrimaryKeyExtensions
Methods
- ConvertToPrimaryKeys(IPrimaryKey, Type)
Converts an IPrimaryKey object to an instance of PrimaryKeys with the specified entity type.
- ConvertToPrimaryKeysFromJson<T>(string)
Converts a JSON string representation of PrimaryKeys<T> to an instance of PrimaryKeys<T>.
- ConvertToPrimaryKeys<T>(IPrimaryKey)
Converts an IPrimaryKey object to an instance of PrimaryKeys<T>.
- CreateEntity<T>(IPrimaryKey)
Creates an instance of the specified entity type using the primary keys.
- DeserializePrimaryKeys(string, Type)
Deserializes a JSON string representation of primary keys to an instance of the specified target type.
- DeserializePrimaryKeysFromJson<T>(string)
Deserializes a JSON string representation of PrimaryKeys<T> to an instance of PrimaryKeys<T>.
- EqualsKey(IPrimaryKey, IPrimaryKey)
Determines whether the specified IPrimaryKey object is equal to the current IPrimaryKey object.
- GetKeysFacadeFromJson(string)
Converts a JSON string representation of PrimaryKeysFacade to an instance of PrimaryKeysFacade.
- SerializePrimaryKeysToJsonForLogging<T>(PrimaryKeys<T>)
Serializes the PrimaryKeys<T> object to a JSON string for logging purposes.
- SerializePrimaryKeysToJson<T>(PrimaryKeys<T>)
Serializes the PrimaryKeys<T> object to a JSON string.
- ToJson(IPrimaryKey)
Converts the IPrimaryKey object to a JSON string.
- ToJsonWithParameter(IPrimaryKey)
Converts the IPrimaryKey object to a JSON string with a parameter name.
- ToQueryString(IPrimaryKey)
Converts the IPrimaryKey object to a query string.
- ToWhereString(IPrimaryKey)
Converts the IPrimaryKey object to a WHERE clause string.