public virtual void Update() { resourceSchema.Dal.Taskmetadata dbo = null; try { dbo = new resourceSchema.Dal.Taskmetadata(); dbo.TaskMetaData_Update(this.Sysid, this.Publicid, this._tasksysid, this.Keypath, this.Keyvalue, this.Active); } catch (System.Exception ) { throw; } finally { if ((dbo != null)) { dbo.Dispose(); } } }