Exemple #1
0
 public bool Insert(PageStatus pagestatus)
 {
     int autonumber = 0;
     PageStatusDAC pagestatusComponent = new PageStatusDAC();
     bool endedSuccessfuly = pagestatusComponent.InsertNewPageStatus( ref autonumber,  pagestatus.Name,  pagestatus.RowGuid,  pagestatus.ModifiedDate);
     if(endedSuccessfuly)
     {
         pagestatus.PageStatusId = autonumber;
     }
     return endedSuccessfuly;
 }
Exemple #2
0
        public bool Insert( string Name,  Guid RowGuid,  DateTime ModifiedDate)
        {
            PageStatusDAC pagestatusComponent = new PageStatusDAC();
            int PageStatusId = 0;

            return pagestatusComponent.InsertNewPageStatus( ref PageStatusId,  Name,  RowGuid,  ModifiedDate);
        }