Esempio n. 1
0
 // Default contructor that set entity to field
 public WikiModel(Wiki wiki)
 {
     this._wiki          = wiki;
     this._id            = wiki.Id;
     this._subject       = wiki.Subject;
     this._body          = wiki.Body;
     this._type          = wiki.Type;
     this._created_by    = wiki.CreatedBy;
     this._modified_by   = wiki.ModifiedBy;
     this._created_date  = wiki.CreatedDate;
     this._modified_date = wiki.ModifiedDate;
     this._originalWiki  = wiki.DeepClone();
 }