C# Класс Zetbox.App.Base.ObjectReferencePropertyNHibernateImpl

Наследование: Zetbox.App.Base.PropertyNHibernateImpl, ObjectReferenceProperty
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
FetchEagerLoadingOrDefault bool
GetDescription string
GetElementTypeString string
GetIsList bool
GetLabel string
GetName string
GetPropertyType System.Type
GetPropertyTypeString string
NotifyCreated void
NotifyDeleting void
NotifyPostSave void
NotifyPreSave void
ObjectIsValid ObjectIsValidResult
ToString string
_InitializePropertyDescriptors void

Открытые методы

Метод Описание
ApplyChangesFrom ( IPersistenceObject obj ) : void
Export ( System xml, string modules ) : void
FromStream ( Zetbox binStream ) : IEnumerable
GetImplementedInterface ( ) : Type
MergeImport ( System xml ) : void
ObjectReferencePropertyNHibernateImpl ( ) : System
ObjectReferencePropertyNHibernateImpl ( Func lazyCtx ) : System

Create a new unattached instance

ObjectReferencePropertyNHibernateImpl ( Func lazyCtx, ObjectReferencePropertyProxy proxy ) : System

Create a instance, wrapping the specified proxy

ReloadReferences ( ) : void
SetNew ( ) : void
ToStream ( Zetbox binStream, HashSet auxObjects, bool eagerLoadLists ) : void
TriggerFetch ( string propName ) : Zetbox.API.Async.ZbTask
TriggerFetchMethodsAsync ( ) : Zetbox.API.Async.ZbTask
TriggerFetchRelationEndAsync ( ) : Zetbox.API.Async.ZbTask
UpdateParent ( string propertyName, IDataObject parentObj ) : void

Защищенные методы

Метод Описание
CollectProperties ( Func lazyCtx, List props ) : void
OnPropertyChanged ( string property, object oldValue, object newValue ) : void
ShouldSetModified ( string property ) : bool

Приватные методы

Метод Описание
FetchEagerLoadingOrDefault ( ) : bool
GetDescription ( ) : string
GetElementTypeString ( ) : string
GetIsList ( ) : bool
GetLabel ( ) : string
GetName ( ) : string
GetPropertyType ( ) : Type
GetPropertyTypeString ( ) : string
NotifyCreated ( ) : void
NotifyDeleting ( ) : void
NotifyPostSave ( ) : void
NotifyPreSave ( ) : void
ObjectIsValid ( ) : ObjectIsValidResult
ToString ( ) : string
_InitializePropertyDescriptors ( Func lazyCtx ) : void

Описание методов

ApplyChangesFrom() публичный Метод

public ApplyChangesFrom ( IPersistenceObject obj ) : void
obj IPersistenceObject
Результат void

CollectProperties() защищенный Метод

protected CollectProperties ( Func lazyCtx, List props ) : void
lazyCtx Func
props List
Результат void

Export() публичный Метод

public Export ( System xml, string modules ) : void
xml System
modules string
Результат void

FromStream() публичный Метод

public FromStream ( Zetbox binStream ) : IEnumerable
binStream Zetbox
Результат IEnumerable

GetImplementedInterface() публичный Метод

public GetImplementedInterface ( ) : Type
Результат System.Type

MergeImport() публичный Метод

public MergeImport ( System xml ) : void
xml System
Результат void

ObjectReferencePropertyNHibernateImpl() публичный Метод

public ObjectReferencePropertyNHibernateImpl ( ) : System
Результат System

ObjectReferencePropertyNHibernateImpl() публичный Метод

Create a new unattached instance
public ObjectReferencePropertyNHibernateImpl ( Func lazyCtx ) : System
lazyCtx Func
Результат System

ObjectReferencePropertyNHibernateImpl() публичный Метод

Create a instance, wrapping the specified proxy
public ObjectReferencePropertyNHibernateImpl ( Func lazyCtx, ObjectReferencePropertyProxy proxy ) : System
lazyCtx Func
proxy ObjectReferencePropertyProxy
Результат System

OnPropertyChanged() защищенный Метод

protected OnPropertyChanged ( string property, object oldValue, object newValue ) : void
property string
oldValue object
newValue object
Результат void

ReloadReferences() публичный Метод

public ReloadReferences ( ) : void
Результат void

SetNew() публичный Метод

public SetNew ( ) : void
Результат void

ShouldSetModified() защищенный Метод

protected ShouldSetModified ( string property ) : bool
property string
Результат bool

ToStream() публичный Метод

public ToStream ( Zetbox binStream, HashSet auxObjects, bool eagerLoadLists ) : void
binStream Zetbox
auxObjects HashSet
eagerLoadLists bool
Результат void

TriggerFetch() публичный Метод

public TriggerFetch ( string propName ) : Zetbox.API.Async.ZbTask
propName string
Результат Zetbox.API.Async.ZbTask

TriggerFetchMethodsAsync() публичный Метод

public TriggerFetchMethodsAsync ( ) : Zetbox.API.Async.ZbTask
Результат Zetbox.API.Async.ZbTask

TriggerFetchRelationEndAsync() публичный Метод

public TriggerFetchRelationEndAsync ( ) : Zetbox.API.Async.ZbTask
Результат Zetbox.API.Async.ZbTask

UpdateParent() публичный Метод

public UpdateParent ( string propertyName, IDataObject parentObj ) : void
propertyName string
parentObj IDataObject
Результат void