public TemplateView(TemplateView origianl) { this.id = origianl.id; this.name = origianl.name; this.description = origianl.description; this.templateContent = origianl.templateContent; this.templateType = origianl.templateType; this.fileNamePrefix = origianl.fileNamePrefix; }
/// <summary> /// Copy values back to this object from a cached object /// </summary> /// <param name="origianl"></param> public void Restore(TemplateView cachedObject) { this.id = cachedObject.id; this.name = cachedObject.name; this.description = cachedObject.description; this.fileNamePrefix = cachedObject.fileNamePrefix; this.templateContent = cachedObject.templateContent; this.templateType = cachedObject.templateType; }