public virtual void Insert() {
     resourceSchema.Dal.Taskstatus dbo = null;
     try {
         dbo = new resourceSchema.Dal.Taskstatus();
         dbo.TaskStatus_Insert(this.Publicid, this.Path, this.Createdate, this.Lastmodifieddate, this.Active);
     }
     catch (System.Exception ) {
         throw;
     }
     finally {
         if ((dbo != null)) {
             dbo.Dispose();
         }
     }
 }