RelationalElementTypeExtensions.SetStoreType Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
SetStoreType(IMutableElementType, String) |
Ustawia typ bazy danych elementów. |
SetStoreType(IConventionElementType, String, Boolean) |
Ustawia typ bazy danych elementów. |
SetStoreType(IMutableElementType, String)
Ustawia typ bazy danych elementów.
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)
Parametry
- elementType
- IMutableElementType
Element .
- value
- String
Wartość do ustawienia.
Dotyczy
SetStoreType(IConventionElementType, String, Boolean)
Ustawia typ bazy danych elementów.
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
Parametry
- elementType
- IConventionElementType
Element .
- value
- String
Wartość do ustawienia.
- fromDataAnnotation
- Boolean
Wskazuje, czy konfiguracja została określona przy użyciu adnotacji danych.
Zwraca
Skonfigurowana wartość.
Dotyczy
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla