StructuralObject.GetValidValue Method
Namespace:
System.Data.Entity.Core.Objects.DataClasses
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() ![]() | GetValidValue(Byte[]) | Returns a copy of the current byte value. |
![]() | GetValidValue<T>(T, String, Boolean, Boolean) | Returns a complex type for the specified property. |
StructuralObject.GetValidValue Method (Byte[])
Returns a copy of the current byte value.
Parameters
- currentValue
-
Type:
System.Byte[]
The current byte array value.
StructuralObject.GetValidValue<T> Method (T, String, Boolean, Boolean)
Returns a complex type for the specified property.
protected internal T GetValidValue<T>( T currentValue, string property, bool isNullable, bool isInitialized ) where T : new(), ComplexObject
Parameters
- currentValue
-
Type:
T
A complex object that inherits from complex object.
- property
-
Type:
System.String
The name of the complex property that is the complex object.
- isNullable
-
Type:
System.Boolean
Indicates whether the type supports null values.
- isInitialized
-
Type:
System.Boolean
Indicates whether the type is initialized.
Type Parameters
- T
The type of the complex object being requested.
Unlike most of the other helper methods in this class, this one is not static because it references the SetValidValue for complex objects, which is also not static because it needs a reference to this.