Class MySqlModelCacheKey
Represents a key value that uniquely identifies an Entity Framework model that has been loaded into memory.
Namespace: MySql.Data.EntityFramework
Assembly: MySql.Data.EntityFramework.dll
Version: 8.4.0
Syntax
public class MySqlModelCacheKey : IDbModelCacheKey
Constructors
MySqlModelCacheKey(Type, String, Type, String)
Declaration
public MySqlModelCacheKey(Type contextType, string providerName, Type providerType, string customKey)
Parameters
Type | Name | Description |
---|---|---|
Type | contextType | |
String | providerName | |
Type | providerType | |
String | customKey |
Methods
Equals(Object)
Determines whether the current cached model key is equal to the specified cached model key.
Declaration
public bool Equals(object other)
Parameters
Type | Name | Description |
---|---|---|
Object | other | The cached model key to compare to the current cached model key. |
Returns
Type | Description |
---|---|
Boolean |
|
GetHashCode()
Returns the hash function for this cached model key.
Declaration
public int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | The hash function for this cached model key. |