BusinessMgr 3.0.1.6

This commit is contained in:
Andy Howard
2025-05-05 16:00:50 +01:00
parent f4f50fc258
commit 2559b9dae3
22 changed files with 92 additions and 81 deletions
@@ -351,7 +351,7 @@ namespace Sarand.Net.Standard.Dbas.CodeTypes
//-------------------------------------------------------------------
// Get filtered codes, indexed by Code Type code.
public override Dictionary<String, List<SaCode>> GetCodesByCodeType(SaCode.Params prmCode)
public override Dictionary<String, List<SaCode>> GetCodes(SaCode.Params prmCode)
{
ClearErrorState();
@@ -367,7 +367,7 @@ namespace Sarand.Net.Standard.Dbas.CodeTypes
// Convert Code Type identity from Id to code and sort each list of codes appropriately.
return ConvertCodeTypeIdentityAndSortCodes(codesByCodeTypeId, codeTypes);
}
public override async Task<Dictionary<String, List<SaCode>>> GetCodesByCodeTypeAsync(SaCode.Params prmCode)
public override async Task<Dictionary<String, List<SaCode>>> GetCodesAsync(SaCode.Params prmCode)
{
ClearErrorState();
@@ -470,7 +470,7 @@ namespace Sarand.Net.Standard.Dbas.CodeTypes
private long GetCodeTypeCount(String filter)
{
ClearErrorState();
return Database.GetRowCount(TableName_CodeType + " As " + aliasCodeType, filter);
return Database.GetRowCount($"{TableName_CodeType} As {aliasCodeType}", filter);
}
//-------------------------------------------------------------------
@@ -1030,7 +1030,7 @@ namespace Sarand.Net.Standard.Dbas.CodeTypes
private long GetCodeCount(String filter)
{
ClearErrorState();
return Database.GetRowCount(TableName_Code + " As " + aliasCode, filter);
return Database.GetRowCount($"{TableName_Code} As {aliasCode}", filter);
}
public override long GetCodeCount(SaCode.Params prm)
{