Beispiel #1
0
 public bool Insert(SystemFunction systemfunction)
 {
     int autonumber = 0;
     SystemFunctionDAC systemfunctionComponent = new SystemFunctionDAC();
     bool endedSuccessfuly = systemfunctionComponent.InsertNewSystemFunction( ref autonumber,  systemfunction.Name,  systemfunction.IsActive,  systemfunction.IsBackendFunction,  Guid.NewGuid(),  DateTime.Now);
     if(endedSuccessfuly)
     {
         systemfunction.SystemFunctionId = autonumber;
     }
     return endedSuccessfuly;
 }
Beispiel #2
0
        public bool Insert( string Name,  bool IsActive,  bool IsBackendFunction,  Guid RowGuid,  DateTime ModifiedDate)
        {
            SystemFunctionDAC systemfunctionComponent = new SystemFunctionDAC();
            int SystemFunctionId = 0;

            return systemfunctionComponent.InsertNewSystemFunction( ref SystemFunctionId,  Name,  IsActive,  IsBackendFunction,  Guid.NewGuid(),  DateTime.Now);
        }