C# Class Zetbox.App.Base.DataTypeEfImpl

Inheritance: Zetbox.DalProvider.Ef.BaseServerDataObject_EntityFramework, DataType, Zetbox.API.IExportableInternal
Mostra file Open project: daszat/zetbox

Private Properties

Property Type Description
AddProperty Zetbox.App.Base.Property
DataTypeEfImpl System
GetConstraintsImplCollection EntityCollection
GetDataType System.Type
GetDataTypeString string
GetImplementsInterfacesImplCollection EntityCollection
GetMethodsImplCollection EntityCollection
GetPropertiesImplCollection EntityCollection
ImplementInterfaces void
NotifyCreated void
NotifyDeleting void
NotifyPostSave void
NotifyPreSave void
ObjectIsValid ObjectIsValidResult
ToString string
_InitializePropertyDescriptors void

Public Methods

Method Description
ApplyChangesFrom ( IPersistenceObject obj ) : void
DataTypeEfImpl ( Func lazyCtx ) : System
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
TriggerFetchChangedByAsync ( ) : Zetbox.API.Async.ZbTask
TriggerFetchConstraintsAsync ( ) : Zetbox.API.Async.ZbTask
TriggerFetchCreatedByAsync ( ) : Zetbox.API.Async.ZbTask
TriggerFetchDefaultIconAsync ( ) : Zetbox.API.Async.ZbTask
TriggerFetchImplementsInterfacesAsync ( ) : Zetbox.API.Async.ZbTask
TriggerFetchMethodsAsync ( ) : Zetbox.API.Async.ZbTask
TriggerFetchModuleAsync ( ) : Zetbox.API.Async.ZbTask
TriggerFetchPropertiesAsync ( ) : Zetbox.API.Async.ZbTask
TriggerFetchRequestedKindAsync ( ) : Zetbox.API.Async.ZbTask

Protected Methods

Method Description
CollectProperties ( Func lazyCtx, List props ) : void
OnPropertyChanged ( string property, object oldValue, object newValue ) : void
ShouldSetModified ( string property ) : bool

Private Methods

Method Description
AddProperty ( ) : Zetbox.App.Base.Property
DataTypeEfImpl ( ) : System
GetConstraintsImplCollection ( ) : EntityCollection
GetDataType ( ) : Type
GetDataTypeString ( ) : string
GetImplementsInterfacesImplCollection ( ) : EntityCollection
GetMethodsImplCollection ( ) : EntityCollection
GetPropertiesImplCollection ( ) : EntityCollection
ImplementInterfaces ( ) : void
NotifyCreated ( ) : void
NotifyDeleting ( ) : void
NotifyPostSave ( ) : void
NotifyPreSave ( ) : void
ObjectIsValid ( ) : ObjectIsValidResult
ToString ( ) : string
_InitializePropertyDescriptors ( Func lazyCtx ) : void

Method Details

ApplyChangesFrom() public method

public ApplyChangesFrom ( IPersistenceObject obj ) : void
obj IPersistenceObject
return void

CollectProperties() protected method

protected CollectProperties ( Func lazyCtx, List props ) : void
lazyCtx Func
props List
return void

DataTypeEfImpl() public method

public DataTypeEfImpl ( Func lazyCtx ) : System
lazyCtx Func
return System

Export() public method

public Export ( System xml, string modules ) : void
xml System
modules string
return void

FromStream() public method

public FromStream ( Zetbox binStream ) : IEnumerable
binStream Zetbox
return IEnumerable

GetImplementedInterface() public method

public GetImplementedInterface ( ) : Type
return System.Type

MergeImport() public method

public MergeImport ( System xml ) : void
xml System
return void

OnPropertyChanged() protected method

protected OnPropertyChanged ( string property, object oldValue, object newValue ) : void
property string
oldValue object
newValue object
return void

ReloadReferences() public method

public ReloadReferences ( ) : void
return void

SetNew() public method

public SetNew ( ) : void
return void

ShouldSetModified() protected method

protected ShouldSetModified ( string property ) : bool
property string
return bool

ToStream() public method

public ToStream ( Zetbox binStream, HashSet auxObjects, bool eagerLoadLists ) : void
binStream Zetbox
auxObjects HashSet
eagerLoadLists bool
return void

TriggerFetch() public method

public TriggerFetch ( string propName ) : Zetbox.API.Async.ZbTask
propName string
return Zetbox.API.Async.ZbTask

TriggerFetchChangedByAsync() public method

public TriggerFetchChangedByAsync ( ) : Zetbox.API.Async.ZbTask
return Zetbox.API.Async.ZbTask

TriggerFetchConstraintsAsync() public method

public TriggerFetchConstraintsAsync ( ) : Zetbox.API.Async.ZbTask
return Zetbox.API.Async.ZbTask

TriggerFetchCreatedByAsync() public method

public TriggerFetchCreatedByAsync ( ) : Zetbox.API.Async.ZbTask
return Zetbox.API.Async.ZbTask

TriggerFetchDefaultIconAsync() public method

public TriggerFetchDefaultIconAsync ( ) : Zetbox.API.Async.ZbTask
return Zetbox.API.Async.ZbTask

TriggerFetchImplementsInterfacesAsync() public method

public TriggerFetchImplementsInterfacesAsync ( ) : Zetbox.API.Async.ZbTask
return Zetbox.API.Async.ZbTask

TriggerFetchMethodsAsync() public method

public TriggerFetchMethodsAsync ( ) : Zetbox.API.Async.ZbTask
return Zetbox.API.Async.ZbTask

TriggerFetchModuleAsync() public method

public TriggerFetchModuleAsync ( ) : Zetbox.API.Async.ZbTask
return Zetbox.API.Async.ZbTask

TriggerFetchPropertiesAsync() public method

public TriggerFetchPropertiesAsync ( ) : Zetbox.API.Async.ZbTask
return Zetbox.API.Async.ZbTask

TriggerFetchRequestedKindAsync() public method

public TriggerFetchRequestedKindAsync ( ) : Zetbox.API.Async.ZbTask
return Zetbox.API.Async.ZbTask