MongoServices 0.2.0
A Service/Repository Framework for mongoDB
MongoServices.MongoServicesModel Class Reference

The base MongoServices model that every model must inherit. More...

List of all members.

Public Member Functions

void MarkForDelete ()
 Marks the model for deletion.
void UnmarkForDelete ()
 Unmarks the model for deletion.

Properties

ObjectId Id [get, set]
 A unique identifier for the model.
DateTime DateCreated [get, set]
 The date the model was initially saved to the database.
DateTime DateModified [get, set]
 The date the model was last saved to the database.
bool MarkedForDelete [get, set]
 Gets whether or not the model is marked for deletion.

Detailed Description

The base MongoServices model that every model must inherit.

Definition at line 13 of file MongoServicesModel.cs.


Member Function Documentation

void MongoServices.MongoServicesModel.MarkForDelete ( )

Marks the model for deletion.

MongoServicesModel.MarkedForDelete

Definition at line 44 of file MongoServicesModel.cs.

void MongoServices.MongoServicesModel.UnmarkForDelete ( )

Unmarks the model for deletion.

MongoServicesModel.MarkedForDelete

Definition at line 53 of file MongoServicesModel.cs.


Property Documentation

DateTime MongoServices.MongoServicesModel.DateCreated [get, set]

The date the model was initially saved to the database.

Definition at line 24 of file MongoServicesModel.cs.

DateTime MongoServices.MongoServicesModel.DateModified [get, set]

The date the model was last saved to the database.

Definition at line 29 of file MongoServicesModel.cs.

ObjectId MongoServices.MongoServicesModel.Id [get, set]

A unique identifier for the model.

Definition at line 19 of file MongoServicesModel.cs.

bool MongoServices.MongoServicesModel.MarkedForDelete [get, set]

Gets whether or not the model is marked for deletion.

true indicates that this record is marked for deletion when the repository Save method is called

.

Definition at line 36 of file MongoServicesModel.cs.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Enumerations Properties