RelationalElementTypeExtensions.SetStoreType Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetStoreType(IMutableElementType, String) |
Sets the database type of the elements. |
SetStoreType(IConventionElementType, String, Boolean) |
Sets the database type of the elements. |
SetStoreType(IMutableElementType, String)
Sets the database type of the elements.
public static void SetStoreType (this Microsoft.EntityFrameworkCore.Metadata.IMutableElementType elementType, string? value);
static member SetStoreType : Microsoft.EntityFrameworkCore.Metadata.IMutableElementType * string -> unit
<Extension()>
Public Sub SetStoreType (elementType As IMutableElementType, value As String)
Parameters
- elementType
- IMutableElementType
The element.
- value
- String
The value to set.
Applies to
SetStoreType(IConventionElementType, String, Boolean)
Sets the database type of the elements.
public static string? SetStoreType (this Microsoft.EntityFrameworkCore.Metadata.IConventionElementType elementType, string? value, bool fromDataAnnotation = false);
static member SetStoreType : Microsoft.EntityFrameworkCore.Metadata.IConventionElementType * string * bool -> string
<Extension()>
Public Function SetStoreType (elementType As IConventionElementType, value As String, Optional fromDataAnnotation As Boolean = false) As String
Parameters
- elementType
- IConventionElementType
The element.
- value
- String
The value to set.
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
Returns
The configured value.
Applies to
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: