BusinessMgr 3.0.1.6
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user