Class MySqlModelCacheKey
Represents a key value that uniquely identifies an Entity Framework model that has been loaded into memory.
Inheritance
System.Object
MySqlModelCacheKey
Namespace: MySql.Data.EntityFramework
Assembly: MySql.Data.EntityFramework.dll
Version: 9.1.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 |
---|---|---|
System.Type | contextType | |
System.String | providerName | |
System.Type | providerType | |
System.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 |
---|---|---|
System.Object | other | The cached model key to compare to the current cached model key. |
Returns
Type | Description |
---|---|
System.Boolean |
|
GetHashCode()
Returns the hash function for this cached model key.
Declaration
public int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | The hash function for this cached model key. |