Ejemplo n.º 1
0
 public int SavePersonaBarMenuPermission(int portalId, int menuId, int permissionId, int roleId,
                                         int userId, bool allowAccees, int currentUserId)
 {
     return(DataProvider.ExecuteScalar <int>("PersonaBar_SavePersonaBarMenuPermission", DataProvider.GetNull(portalId), menuId, permissionId,
                                             GetRoleNull(roleId), DataProvider.GetNull(userId), allowAccees, currentUserId));
 }
Ejemplo n.º 2
0
 public void UpsertJobChekpoint(ExportImportChekpoint checkpoint)
 {
     _dataProvider.ExecuteNonQuery("ExportImportCheckpoints_Upsert",
                                   checkpoint.JobId, checkpoint.AssemblyName, checkpoint.Category, checkpoint.Stage, checkpoint.StageData,
                                   Null.SetNullInteger(Math.Floor(checkpoint.Progress)), checkpoint.TotalItems, checkpoint.ProcessedItems, _dataProvider.GetNull(checkpoint.StartDate), checkpoint.Completed);
 }