Click or drag to resize

IViewModelSerializer Interface

Represents a view model serializer instance

Namespace: SanteDB.Core.ViewModel
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public interface IViewModelSerializer : IDisposable

The IViewModelSerializer type exposes the following members.

Properties
 NameDescription
Public propertyForbidDelayLoad Gets whether delay loading should be forbidden
Public propertyViewModel Gets or sets the view model definition of the view model serlializer
Top
Methods
 NameDescription
Public methodAddLoadedObject Add the classified object
Public methodDeSerialize(Stream, Type) De-serialize the specified stream to type
Public methodDeSerializeTModel(Stream) De-serializes the specified object from the stream
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public methodGetLoadedObject Get loaded object from delay load cache
Public methodLoadCollectionTAssociation Loads the associations for the specified object
Public methodLoadRelatedTRelated Loads the specified related object
Public methodLoadSerializerAssembly Loads all instance of serializers (pre-compiled) from the specified assembly
Public methodSerialize(Stream, Object) Serializes the object data onto stream s
Public methodSerialize(TextWriter, Object) Serializes the object data onto stream s
Top
See Also