This commit is contained in:
@@ -120,7 +120,7 @@ namespace AyaNova.Biz
|
|||||||
//IMPORT Scheduleable User Groups AS TAGS
|
//IMPORT Scheduleable User Groups AS TAGS
|
||||||
await DoImport("GZTW.AyaNova.BLL.ScheduleableUserGroup", "main", AyaType.Tag, job.GId, importMap, importFileName, zipEntries);
|
await DoImport("GZTW.AyaNova.BLL.ScheduleableUserGroup", "main", AyaType.Tag, job.GId, importMap, importFileName, zipEntries);
|
||||||
//Now can set users to correct tag for scheduleable user group
|
//Now can set users to correct tag for scheduleable user group
|
||||||
await DoImport("GZTW.AyaNova.BLL.User", "scheduleableusergrouptags", AyaType.User, job.GId, importMap, importFileName, zipEntries);
|
await DoImport("GZTW.AyaNova.BLL.ScheduleableUserGroup", "scheduleableusergrouptags", AyaType.Tag, job.GId, importMap, importFileName, zipEntries);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -333,6 +333,14 @@ namespace AyaNova.Biz
|
|||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case "scheduleableusergrouptags":
|
||||||
|
{
|
||||||
|
var V7Id = new Guid(j["ID"].Value<string>());
|
||||||
|
var RavenId = importMap.Where(m => m.V7ObjectId == V7Id).First().NewObjectAyaTypeId.ObjectId;
|
||||||
|
//handle tag entries for users now that we have the SUG tags created
|
||||||
|
// throw new System.NotImplementedException();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -414,6 +414,7 @@ namespace AyaNova.Biz
|
|||||||
{
|
{
|
||||||
case "main":
|
case "main":
|
||||||
{
|
{
|
||||||
|
#region Main import
|
||||||
var V7Id = new Guid(j["ID"].Value<string>());
|
var V7Id = new Guid(j["ID"].Value<string>());
|
||||||
|
|
||||||
//skip the administrator account but add it to the map for all the other import code that requires it
|
//skip the administrator account but add it to the map for all the other import code that requires it
|
||||||
@@ -470,6 +471,7 @@ namespace AyaNova.Biz
|
|||||||
importMap.Add(mapItem);
|
importMap.Add(mapItem);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endregion
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "eventlog":
|
case "eventlog":
|
||||||
@@ -479,6 +481,7 @@ namespace AyaNova.Biz
|
|||||||
break;
|
break;
|
||||||
case "locale":
|
case "locale":
|
||||||
{
|
{
|
||||||
|
#region set locale
|
||||||
//get the userId
|
//get the userId
|
||||||
//----
|
//----
|
||||||
var V7Id = new Guid(j["ID"].Value<string>());
|
var V7Id = new Guid(j["ID"].Value<string>());
|
||||||
@@ -531,16 +534,10 @@ namespace AyaNova.Biz
|
|||||||
u.LocaleId = LocaleBiz.LocaleNameToIdStatic(NewLocaleName, ct);
|
u.LocaleId = LocaleBiz.LocaleNameToIdStatic(NewLocaleName, ct);
|
||||||
|
|
||||||
ct.SaveChanges();
|
ct.SaveChanges();
|
||||||
|
#endregion set locale
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case "scheduleableusergrouptags":
|
|
||||||
{
|
|
||||||
var V7Id = new Guid(j["ID"].Value<string>());
|
|
||||||
//handle tag entries for users now that we have the SUG tags created
|
|
||||||
// throw new System.NotImplementedException();
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case "clientid":
|
case "clientid":
|
||||||
{
|
{
|
||||||
var V7Id = new Guid(j["ID"].Value<string>());
|
var V7Id = new Guid(j["ID"].Value<string>());
|
||||||
|
|||||||
Reference in New Issue
Block a user