Show / Hide Table of Contents

Interface ISoItem

Support for database modifications.

Namespace: SuperOffice.Data
Assembly: SoDataBase.dll
Syntax
public interface ISoItem
Remarks

Interface for implementing objects supporting modifications of data.

When to use.Use this object when implementing objects that save data to the database.
When to implement.

Properties

IsDeleted

Is the object deleted?

Declaration
bool IsDeleted { get; }
Property Value
Type Description
Boolean

true if deleted; otherwise, false.

IsDirty

Is the object dirty, e.g. has some of the data in the object been changed?

Declaration
bool IsDirty { get; }
Property Value
Type Description
Boolean

true if dirty; otherwise, false.

IsNew

Is the object new or not?

Declaration
bool IsNew { get; }
Property Value
Type Description
Boolean

true if new; otherwise, false.

Methods

Delete()

Delete the object.

Declaration
void Delete()

Save()

Saves the object.

Declaration
void Save()

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top