Search Results for

    Show / Hide Table of Contents

    Class ObjectEntityController<T>

    An optional base object entity controller used for displaying any single entity that inherits from IObjectEntityBase ina consistent manner

    Inheritance
    System.Object
    ModelViewController
    BaseDefaultSingleViewController<T>
    ObjectEntityController<T>
    Implements
    IModelViewController
    Inherited Members
    BaseDefaultSingleViewController<T>.GetSingleViewController(IBaseDefaultSingleView<T>, String)
    BaseDefaultSingleViewController<T>.SingleItem
    BaseDefaultSingleViewController<T>.SingleView
    BaseDefaultSingleViewController<T>.InitAsync()
    BaseDefaultSingleViewController<T>.LoadSingleItem()
    BaseDefaultSingleViewController<T>.Descriptor
    BaseDefaultSingleViewController<T>.SetAndLoadSingleItem()
    BaseDefaultSingleViewController<T>.LoadControls()
    BaseDefaultSingleViewController<T>.ViewDisplayType
    BaseDefaultSingleViewController<T>.ViewMaxWidth
    BaseDefaultSingleViewController<T>.ViewMaxHeight
    BaseDefaultSingleViewController<T>.ViewRowCount
    BaseDefaultSingleViewController<T>.ViewColumnCount
    BaseDefaultSingleViewController<T>.DisplayUI()
    BaseDefaultSingleViewController<T>.Controls()
    BaseDefaultSingleViewController<T>.TrackItemChanges
    BaseDefaultSingleViewController<T>.OnTrackedItemChanged(Object, String)
    BaseDefaultSingleViewController<T>.HasParentToAnyRelationship
    BaseDefaultSingleViewController<T>.AlterControlInfo(ControlDisplayInfo)
    BaseDefaultSingleViewController<T>.GetControlDescriptor(String)
    ModelViewController.CurrentDisplayedItem
    ModelViewController.CanWrite
    ModelViewController.CheckIsLockedForCanWrite
    ModelViewController.View
    ModelViewController.DisplayItem(Object)
    ModelViewController.ShouldDisplayItem(Object)
    ModelViewController.DisplayIfNull
    ModelViewController.Redisplay()
    ModelViewController.RemoveHandlers(Object)
    ModelViewController.AddHandlers(Object)
    ModelViewController.Clear()
    ModelViewController.CloseController()
    ModelViewController.InitCommands(IList<ViewCommand>)
    ModelViewController.RemoveCommand(ViewCommand)
    ModelViewController.RemoveCommands<OFType>()
    ModelViewController.InsertCommand(ViewCommand, Int32)
    ModelViewController.InsertCommand(ViewCommand, ViewCommand, ViewCommand)
    ModelViewController.Commands
    ModelViewController.UpdateAllCommands()
    ModelViewController.SelectedItemForSubViews
    ModelViewController.ContextHelpURL
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: LemonEdge.Client.Core.Views.Controllers
    Assembly: ClientCore.dll
    Syntax
    public abstract class ObjectEntityController<T> : BaseDefaultSingleViewController<T>, IModelViewController where T : IObjectEntityBase
    Type Parameters
    Name Description
    T

    The entity type that inherits from IObjectEntityBase

    Constructors

    ObjectEntityController(IBaseDefaultSingleView<T>)

    Creates a new ObjectEntityController

    Declaration
    public ObjectEntityController(IBaseDefaultSingleView<T> view)
    Parameters
    Type Name Description
    IBaseDefaultSingleView<T> view

    The IBaseDefaultSingleView view implementation using the UI components of the client application

    Properties

    AllowGL

    Indicates the HasGL control should also be included in the ControlNames() for this view

    Declaration
    protected virtual bool AllowGL { get; }
    Property Value
    Type Description
    System.Boolean

    AllowIncludeInAllocations

    Indicates the AllowRuleAllocations control should also be included in the ControlNames() for this view

    Declaration
    protected virtual bool AllowIncludeInAllocations { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    ControlNames()

    Adds the Name, Code, LegalName, and CurrencyID as controls to the view

    Declaration
    protected override IEnumerable<ControlDisplayInfoLight> ControlNames()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<ControlDisplayInfoLight>

    The controls to be displayed against this view

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseDefaultSingleViewController<T>.ControlNames()

    Implements

    IModelViewController

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.