TAB3:
- Aggiunta ricerca dettaglio KIT x ODL/PODL
This commit is contained in:
@@ -823,6 +823,27 @@ namespace MP.Data.Controllers
|
||||
return fatto;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Elenco PODL in un istanza KIT dall'ID del parent
|
||||
/// </summary>
|
||||
/// <param name="IdxPodlParent">IDX PODL parent</param>
|
||||
/// <returns></returns>
|
||||
public List<PODLExpModel> ListPODL_ByKitParent(int IdxPodlParent)
|
||||
{
|
||||
List<PODLExpModel> dbResult = new List<PODLExpModel>();
|
||||
using (var dbCtx = new MoonProContext(_configuration))
|
||||
{
|
||||
var pIdxPodlParent = new SqlParameter("@IdxPodlParent", IdxPodlParent);
|
||||
|
||||
dbResult = dbCtx
|
||||
.DbSetPODLExp
|
||||
.FromSqlRaw("EXEC stp_PODL_getByParentKitIdx @IdxPodlParent", pIdxPodlParent)
|
||||
.AsNoTracking()
|
||||
.ToList();
|
||||
}
|
||||
return dbResult;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Elenco PODL macchina
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user