Condividi tramite


Metodo StructuralObject.SetValidValue (Nullable<Int32>)

[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]

Assicura che il valore Int32 impostato per una proprietà sia valido.

Spazio dei nomi:  System.Data.Entity.Core.Objects.DataClasses
Assembly:  EntityFramework (in EntityFramework.dll)

Sintassi

'Dichiarazione
Protected Friend Shared Function SetValidValue ( _
    value As Nullable(Of Integer) _
) As Nullable(Of Integer)
'Utilizzo
Dim value As Nullable(Of Integer)
Dim returnValue As Nullable(Of Integer)

returnValue = StructuralObject.SetValidValue(value)
protected internal static Nullable<int> SetValidValue(
    Nullable<int> value
)
protected public:
static Nullable<int> SetValidValue(
    Nullable<int> value
)
static member SetValidValue : 
        value:Nullable<int> -> Nullable<int> 
static function SetValidValue(
    value : Nullable<int>
) : Nullable<int>

Parametri

Valore restituito

Tipo: System.Nullable<Int32>
Valore Int32 che ammette i valori Null che viene impostato.

Vedere anche

Riferimento

StructuralObject Classe

Overload SetValidValue

Spazio dei nomi System.Data.Entity.Core.Objects.DataClasses