Class ModelBase
Class ModelBase. Implements the ObservableClass Implements the IModelBase
Inheritance
System.Object
ModelBase
Implements
INotifyPropertyChanged
IDisposable
IDataErrorInfo
INotifyDataErrorInfo
Inherited Members
Namespace: ISynergy.Framework.Core.Base
Assembly: ISynergy.Framework.Core.dll
Syntax
public abstract class ModelBase : ObservableClass, IModelBase, IObservableClass, IBindable
Constructors
View SourceModelBase(Boolean)
Initializes a new instance of the ModelBase class.
Declaration
protected ModelBase(bool automaticValidation = false)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | automaticValidation | The validation. |
Properties
View SourceChangedBy
Gets or sets the ChangedBy property value.
Declaration
public string ChangedBy { get; set; }
Property Value
Type | Description |
---|---|
System.String | The changed by. |
ChangedDate
Gets or sets the ChangedDate property value.
Declaration
public DateTimeOffset? ChangedDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTimeOffset> | The changed date. |
CreatedBy
Gets or sets the CreatedBy property value.
Declaration
public string CreatedBy { get; set; }
Property Value
Type | Description |
---|---|
System.String | The created by. |
CreatedDate
Gets or sets the CreatedDate property value.
Declaration
public DateTimeOffset CreatedDate { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset | The created date. |
Memo
Gets or sets the Memo property value.
Declaration
public string Memo { get; set; }
Property Value
Type | Description |
---|---|
System.String | The memo. |
Version
Gets or sets the Version property value.
Declaration
public int Version { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The version. |
Implements
INotifyPropertyChanged
IDisposable
IDataErrorInfo
INotifyDataErrorInfo
Extension Methods
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>, Func<TSource, Boolean>)