Click or drag to resize

FileBasedServiceBase Class

Provides access to an ice.NET repository and stores its data and file content in a ZIP archive. This class handles general file operations (New, Open, Save, Save as) and handles the data transfer between the runtime session and the persistent ZIP file.
Inheritance Hierarchy
SystemObject
  PDTec.IceNet.Sdk.UtilsFileBasedServiceBase

Namespace:  PDTec.IceNet.Sdk.Utils
Assembly:  PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public abstract class FileBasedServiceBase

The FileBasedServiceBase type exposes the following members.

Constructors
  NameDescription
Public methodFileBasedServiceBase
Creates an instance of a service session without additional business objects implementations.
Public methodFileBasedServiceBase(Assembly)
Creates an instance of a service session with additional business objects implementations.
Top
Properties
  NameDescription
Public propertyFileProperties
Gets the properties dictionary. The dictionary manages additional metadata as key-value pairs.
Protected propertyPreinstalledPackages
Public propertyRepository
Provides access to the sessions repository.
Public propertySessionVaultDirectory
Top
Methods
  NameDescription
Protected methodCreateRepository
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFileNew
Clears the service session and resets the project file path.
Public methodFileOpen
Reads a project file into the service session. This replaces all current session data.
Public methodFileSave
Saves the service session to the current project file.
Public methodFileSaveAs
Saves the service session to a project file specified by its file path.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetFileProperties
Reads the metadata properties without loading the project file.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMakeSessionFileName
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
Remarks
Traditionally this class is used as a base class to implement service methods for offline clients. It can also be used as a standalone representation of an ice.NET repository that provides general file operations.
See Also