This documentation is archived and is not being maintained.

StructuralObject Class

Provides support for code generation in the form of helper methods that are used to set field values for properties.

Namespace:  System.Data.Objects.DataClasses
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

[SerializableAttribute]
[DataContractAttribute(IsReference = true)]
public ref class StructuralObject abstract : INotifyPropertyChanging, 
	INotifyPropertyChanged

The StructuralObject type exposes the following members.

  NameDescription
Protected methodStructuralObjectInitializes a new instance of the StructuralObject class.
Top

  NameDescription
Protected methodStatic memberBinaryEqualsDetermines whether the specified byte arrays contain identical values.
Protected methodStatic memberDefaultDateTimeValueReturns the minimum date time value supported by the data source.
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodStatic memberGetValidValue(array<Byte>)Returns a copy of the current byte value.
Protected methodGetValidValue<T>(T, String, Boolean, Boolean)Returns a complex type for the specified property.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodOnPropertyChangedRaises the PropertyChanged event.
Protected methodOnPropertyChangingRaises the PropertyChanging event.
Protected methodReportPropertyChangedWhen overridden in a derived class, raises an event that is used to report that a property change has occurred.
Protected methodReportPropertyChangingWhen overridden in a derived class, raises an event that is used to report that a property change is pending.
Protected methodStatic memberSetValidValue(Boolean)This method is reserved for future use.
Protected methodStatic memberSetValidValue(Nullable<Boolean>)This method is reserved for future use.
Protected methodStatic memberSetValidValue(Byte)This method is reserved for future use.
Protected methodStatic memberSetValidValue(Nullable<Byte>)This method is reserved for future use.
Protected methodStatic memberSetValidValue(DateTime)This method is reserved for future use.
Protected methodStatic memberSetValidValue(Nullable<DateTime>)This method is reserved for future use.
Protected methodStatic memberSetValidValue(DateTimeOffset)This method is reserved for future use.
Protected methodStatic memberSetValidValue(Nullable<DateTimeOffset>)This method is reserved for future use.
Protected methodStatic memberSetValidValue(Decimal)This method is reserved for future use.
Protected methodStatic memberSetValidValue(Nullable<Decimal>)This method is reserved for future use.
Protected methodStatic memberSetValidValue(Double)This method is reserved for future use.
Protected methodStatic memberSetValidValue(Nullable<Double>)This method is reserved for future use.
Protected methodStatic memberSetValidValue(Guid)This method is reserved for future use.
Protected methodStatic memberSetValidValue(Nullable<Guid>)This method is reserved for future use.
Protected methodStatic memberSetValidValue(Int16)This method is reserved for future use.
Protected methodStatic memberSetValidValue(Nullable<Int16>)This method is reserved for future use.
Protected methodStatic memberSetValidValue(Int32)This method is reserved for future use.
Protected methodStatic memberSetValidValue(Nullable<Int32>)This method is reserved for future use.
Protected methodStatic memberSetValidValue(Int64)This method is reserved for future use.
Protected methodStatic memberSetValidValue(Nullable<Int64>)This method is reserved for future use.
Protected methodStatic memberSetValidValue(Nullable<SByte>)This method is reserved for future use.
Protected methodStatic memberSetValidValue(Nullable<Single>)This method is reserved for future use.
Protected methodStatic memberSetValidValue(Nullable<TimeSpan>)This method is reserved for future use.
Protected methodStatic memberSetValidValue(Nullable<UInt16>)This method is reserved for future use.
Protected methodStatic memberSetValidValue(Nullable<UInt32>)This method is reserved for future use.
Protected methodStatic memberSetValidValue(Nullable<UInt64>)This method is reserved for future use.
Protected methodStatic memberSetValidValue(SByte)This method is reserved for future use.
Protected methodStatic memberSetValidValue(Single)This method is reserved for future use.
Protected methodStatic memberSetValidValue(TimeSpan)This method is reserved for future use.
Protected methodStatic memberSetValidValue(UInt16)This method is reserved for future use.
Protected methodStatic memberSetValidValue(UInt32)This method is reserved for future use.
Protected methodStatic memberSetValidValue(UInt64)This method is reserved for future use.
Protected methodStatic memberSetValidValue(array<Byte>, Boolean)Returns a copy of the supplied byte array, or nullptr if supported.
Protected methodStatic memberSetValidValue(String, Boolean)Returns a copy of the supplied string, or nullptr if supported.
Protected methodSetValidValue<T>(T, T, String)Sets a complex object for the specified property.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Protected methodStatic memberVerifyComplexObjectIsNotNull<TComplex>Verifies that a complex object is not nullptr.
Top

  NameDescription
Public eventPropertyChangedOccurs when a property value has changed.
Public eventPropertyChangingOccurs when a property value change is a pending.
Top

  NameDescription
Public fieldStatic memberEntityKeyPropertyNameThis constant name is used for change tracking.
Top

StructuralObject is the base class for both EntityObject types and ComplexObject types.

This class is not intended to be used directly in your code.

.NET Framework

Supported in: 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: