Class MySQLKeyBuilderExtensions
MySQL specific extension methods for Microsoft.
Inheritance
System.Object
MySQLKeyBuilderExtensions
Namespace: MySql.EntityFrameworkCore.Extensions
Assembly: MySql.EntityFrameworkCore.dll
Version: 9.3.0
Syntax
public static class MySQLKeyBuilderExtensions
Methods
HasPrefixLength(KeyBuilder, Int32[])
Sets prefix lengths for the key.
Declaration
public static KeyBuilder HasPrefixLength(this KeyBuilder keyBuilder, params int[] prefixLengths)
Parameters
Type | Name | Description |
---|---|---|
Microsoft. |
keyBuilder | The key builder. |
System. |
prefixLengths | The prefix lengths to set in the order of the key columns where specified.
A value of |
Returns
Type | Description |
---|---|
Microsoft. |
The key builder. |