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

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

Private Properties

Свойство Тип Описание
AddProperty Zetbox.App.Base.Property
GetDataType System.Type
GetDataTypeString string
GetEntryByName Zetbox.App.Base.EnumerationEntry
GetEntryByValue Zetbox.App.Base.EnumerationEntry
GetLabelByName string
GetLabelByValue string
ImplementInterfaces void
NotifyCreated void
NotifyDeleting void
NotifyPostSave void
NotifyPreSave void
ObjectIsValid ObjectIsValidResult
ToString string
_InitializePropertyDescriptors void

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

Метод Описание
ApplyChangesFrom ( IPersistenceObject obj ) : void
EnumerationNHibernateImpl ( ) : System
EnumerationNHibernateImpl ( Func lazyCtx ) : System

Create a new unattached instance

EnumerationNHibernateImpl ( Func lazyCtx, EnumerationProxy proxy ) : System

Create a instance, wrapping the specified proxy

Export ( System xml, string modules ) : void
FromStream ( Zetbox binStream ) : IEnumerable
GetImplementedInterface ( ) : Type
MergeImport ( System xml ) : void
ReloadReferences ( ) : void
SetNew ( ) : void
ToStream ( Zetbox binStream, HashSet auxObjects, bool eagerLoadLists ) : void
TriggerFetch ( string propName ) : Zetbox.API.Async.ZbTask
TriggerFetchEnumerationEntriesAsync ( ) : Zetbox.API.Async.ZbTask

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

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

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

Метод Описание
AddProperty ( ) : Zetbox.App.Base.Property
GetDataType ( ) : Type
GetDataTypeString ( ) : string
GetEntryByName ( string name ) : Zetbox.App.Base.EnumerationEntry
GetEntryByValue ( int val ) : Zetbox.App.Base.EnumerationEntry
GetLabelByName ( string name ) : string
GetLabelByValue ( int val ) : string
ImplementInterfaces ( ) : void
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

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

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

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

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

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

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

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
Результат Type

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

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

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

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

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