Bewerken

Share via


StructuralObject Class

Definition

Represents a class that contains the common methods need for a date object.

public ref class StructuralObject abstract : System::ComponentModel::INotifyPropertyChanged, System::ComponentModel::INotifyPropertyChanging
[System.Runtime.Serialization.DataContract(IsReference=true)]
[System.Serializable]
public abstract class StructuralObject : System.ComponentModel.INotifyPropertyChanged, System.ComponentModel.INotifyPropertyChanging
[<System.Runtime.Serialization.DataContract(IsReference=true)>]
[<System.Serializable>]
type StructuralObject = class
    interface INotifyPropertyChanging
    interface INotifyPropertyChanged
Public MustInherit Class StructuralObject
Implements INotifyPropertyChanged, INotifyPropertyChanging
Inheritance
StructuralObject
Derived
Attributes
Implements

Constructors

StructuralObject()

Initializes a new instance of the StructuralObject class.

Fields

EntityKeyPropertyName

This constant name is used for tracking.

Methods

BinaryEquals(Byte[], Byte[])

Determines whether the specified byte arrays contain identical values.

DefaultDateTimeValue()

Returns the minimum date time value supported by the data source.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetValidValue(Byte[])

Returns a copy of the current byte value.

GetValidValue<T>(T, String, Boolean, Boolean)

Returns a complex type for the specified property.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnPropertyChanged(String)

Raises the PropertyChanged event.

OnPropertyChanging(String)

Raises the PropertyChanging event.

ReportPropertyChanged(String)

Raises an event that is used to report that a property change has occurred.

ReportPropertyChanging(String)

Raises an event that is used to report that a property change is pending.

SetValidValue(Boolean)

Makes sure the Boolean value being set for a property is valid.

SetValidValue(Boolean, String)

Makes sure the Boolean value being set for a property is valid.

SetValidValue(Byte)

Makes sure the Byte value being set for a property is valid.

SetValidValue(Byte, String)

Makes sure the Byte value being set for a property is valid.

SetValidValue(Byte[], Boolean)

Makes sure the byte array value being set for a property is valid.

SetValidValue(Byte[], Boolean, String)

Makes sure the Byte array value being set for a property is valid.

SetValidValue(DateTime)

Makes sure the DateTime value being set for a property is valid.

SetValidValue(DateTime, String)

Makes sure the DateTime value being set for a property is valid.

SetValidValue(DateTimeOffset)

Makes sure the DateTimeOffset value being set for a property is valid.

SetValidValue(DateTimeOffset, String)

Makes sure the DateTimeOffset value being set for a property is valid.

SetValidValue(DbGeography, Boolean)

Validates that the property is not null, and throws if it is.

SetValidValue(DbGeography, Boolean, String)

Validates that the property is not null, and throws if it is.

SetValidValue(DbGeometry, Boolean)

Validates that the property is not null, and throws if it is.

SetValidValue(DbGeometry, Boolean, String)

Validates that the property is not null, and throws if it is.

SetValidValue(Decimal)

Makes sure the Decimal value being set for a property is valid.

SetValidValue(Decimal, String)

Makes sure the Decimal value being set for a property is valid.

SetValidValue(Double)

Makes sure the Double value being set for a property is valid.

SetValidValue(Double, String)

Makes sure the Double value being set for a property is valid.

SetValidValue(Guid)

Makes sure the Guid value being set for a property is valid.

SetValidValue(Guid, String)

Makes sure the Guid value being set for a property is valid.

SetValidValue(Int16)

Makes sure the Int16 value being set for a property is valid.

SetValidValue(Int16, String)

Makes sure the Int16 value being set for a property is valid.

SetValidValue(Int32)

Makes sure the Int32 value being set for a property is valid.

SetValidValue(Int32, String)

Makes sure the Int32 value being set for a property is valid.

SetValidValue(Int64)

Makes sure the Int64 value being set for a property is valid.

SetValidValue(Int64, String)

Makes sure the Int64 value being set for a property is valid.

SetValidValue(Nullable<Boolean>)

Makes sure the Boolean value being set for a property is valid.

SetValidValue(Nullable<Boolean>, String)

Makes sure the Boolean value being set for a property is valid.

SetValidValue(Nullable<Byte>)

Makes sure the Byte value being set for a property is valid.

SetValidValue(Nullable<Byte>, String)

Makes sure the Byte value being set for a property is valid.

SetValidValue(Nullable<DateTime>)

Makes sure the DateTime value being set for a property is valid.

SetValidValue(Nullable<DateTime>, String)

Makes sure the DateTime value being set for a property is valid.

SetValidValue(Nullable<DateTimeOffset>)

Makes sure the DateTimeOffset value being set for a property is valid.

SetValidValue(Nullable<DateTimeOffset>, String)

Makes sure the DateTimeOffset value being set for a property is valid.

SetValidValue(Nullable<Decimal>)

Makes sure the Decimal value being set for a property is valid.

SetValidValue(Nullable<Decimal>, String)

Makes sure the Decimal value being set for a property is valid.

SetValidValue(Nullable<Double>)

Makes sure the Double value being set for a property is valid.

SetValidValue(Nullable<Double>, String)

Makes sure the Double value being set for a property is valid.

SetValidValue(Nullable<Guid>)

Makes sure the Guid value being set for a property is valid.

SetValidValue(Nullable<Guid>, String)

Makes sure the Guid value being set for a property is valid.

SetValidValue(Nullable<Int16>)

Makes sure the Int16 value being set for a property is valid.

SetValidValue(Nullable<Int16>, String)

Makes sure the Int16 value being set for a property is valid.

SetValidValue(Nullable<Int32>)

Makes sure the Int32 value being set for a property is valid.

SetValidValue(Nullable<Int32>, String)

Makes sure the Int32 value being set for a property is valid.

SetValidValue(Nullable<Int64>)

Makes sure the Int64 value being set for a property is valid.

SetValidValue(Nullable<Int64>, String)

Makes sure the Int64 value being set for a property is valid.

SetValidValue(Nullable<SByte>)

Makes sure the SByte value being set for a property is valid.

SetValidValue(Nullable<SByte>, String)

Makes sure the SByte value being set for a property is valid.

SetValidValue(Nullable<Single>)

Makes sure the Single value being set for a property is valid.

SetValidValue(Nullable<Single>, String)

Makes sure the Single value being set for a property is valid.

SetValidValue(Nullable<TimeSpan>)

Makes sure the TimeSpan value being set for a property is valid.

SetValidValue(Nullable<TimeSpan>, String)

Makes sure the TimeSpan value being set for a property is valid.

SetValidValue(Nullable<UInt16>)

Makes sure the UInt16 value being set for a property is valid.

SetValidValue(Nullable<UInt16>, String)

Makes sure the UInt16 value being set for a property is valid.

SetValidValue(Nullable<UInt32>)

Makes sure the UInt32 value being set for a property is valid.

SetValidValue(Nullable<UInt32>, String)

Makes sure the UInt32 value being set for a property is valid.

SetValidValue(Nullable<UInt64>)

Makes sure the UInt64 value being set for a property is valid.

SetValidValue(Nullable<UInt64>, String)

Makes sure the UInt64 value being set for a property is valid.

SetValidValue(SByte)

Makes sure the SByte value being set for a property is valid.

SetValidValue(SByte, String)

Makes sure the SByte value being set for a property is valid.

SetValidValue(Single)

Makes sure the Single value being set for a property is valid.

SetValidValue(Single, String)

Makes sure the Single value being set for a property is valid.

SetValidValue(String, Boolean)

Validates that the property is not null, and throws if it is.

SetValidValue(String, Boolean, String)

Validates that the property is not null, and throws if it is.

SetValidValue(TimeSpan)

Makes sure the TimeSpan value being set for a property is valid.

SetValidValue(TimeSpan, String)

Makes sure the TimeSpan value being set for a property is valid.

SetValidValue(UInt16)

Makes sure the UInt16 value being set for a property is valid.

SetValidValue(UInt16, String)

Makes sure the UInt16 value being set for a property is valid.

SetValidValue(UInt32)

Makes sure the UInt32 value being set for a property is valid.

SetValidValue(UInt32, String)

Makes sure the UInt32 value being set for a property is valid.

SetValidValue(UInt64)

Makes sure the UInt64 value being set for a property is valid.

SetValidValue(UInt64, String)

Makes sure the UInt64 value being set for a property is valid.

SetValidValue<T>(T, T, String)

Sets a complex object for the specified property.

ToString()

Returns a string that represents the current object.

(Inherited from Object)
VerifyComplexObjectIsNotNull<TComplex>(TComplex, String)

Verifies that a complex object is not null.

Events

PropertyChanged

Occurs when a property value has changed.

PropertyChanging

Occurs when a property value change is a pending.

Applies to