case 3823

This commit is contained in:
2020-10-15 22:51:11 +00:00
parent fb65f749a1
commit 55460138f9

View File

@@ -3353,7 +3353,7 @@ At first I was happy to find your code that solved my problem, but I did not lik
static public bool EditRecord(RootObjectTypes ObjectType, Guid ID) static public bool EditRecord(RootObjectTypes ObjectType, Guid ID)
{ {
//call version with optional id as optional id empty //call version with optional id as optional id empty
return EditRecord(ObjectType, ID); return EditRecord(ObjectType, ID, null);
} }
//case 227 //case 227
@@ -3366,7 +3366,7 @@ At first I was happy to find your code that solved my problem, but I did not lik
{ {
if (nvi.Value == Guid.Empty) return false; if (nvi.Value == Guid.Empty) return false;
if (nvi.RootObjectType == RootObjectTypes.Nothing) return false; if (nvi.RootObjectType == RootObjectTypes.Nothing) return false;
return EditRecord(nvi.RootObjectType, nvi.Value); return EditRecord(nvi.RootObjectType, nvi.Value, null);
} }
/// <summary> /// <summary>
@@ -3376,7 +3376,7 @@ At first I was happy to find your code that solved my problem, but I did not lik
/// <returns></returns> /// <returns></returns>
static public bool EditRecord(TypeAndID TID) static public bool EditRecord(TypeAndID TID)
{ {
return EditRecord(TID.RootObjectType, TID.ID); return EditRecord(TID.RootObjectType, TID.ID, null);
} }
/// <summary> /// <summary>
/// Same as edit record but with optional id parameter /// Same as edit record but with optional id parameter