Beispiel #1
0
 /// <Function>
 ///    <MethodName>
 ///       Update
 ///    </MethodName>
 ///    <Description>
 ///       Update Model's information  to database
 ///    </Description>
 ///    <Inputs>
 ///       Model
 ///    </Inputs>
 ///    <Returns>
 ///    </Returns>
 /// </Function>
 public virtual Decimal Insert(BaseModel model)
 {
     try
     {
         return(baseFacade.Insert(model));
     }
     catch (FacadeException ex)
     {
         throw new BOException("Can not Insert to database" + ex.Message);
     }
 }