completata prima review, da creare/testare pacchetti deploy x IIS01/02 e Donati
This commit is contained in:
@@ -12,6 +12,8 @@ namespace MP.Models
|
||||
using System;
|
||||
using System.Data.Entity;
|
||||
using System.Data.Entity.Infrastructure;
|
||||
using System.Data.Entity.Core.Objects;
|
||||
using System.Linq;
|
||||
|
||||
public partial class MoonProEntities : DbContext
|
||||
{
|
||||
@@ -26,5 +28,23 @@ namespace MP.Models
|
||||
}
|
||||
|
||||
public virtual DbSet<AnagKeyValue> AnagKeyValue { get; set; }
|
||||
|
||||
public virtual ObjectResult<AnagKeyValue> stp_AKV_getByKey(string nomeVar)
|
||||
{
|
||||
var nomeVarParameter = nomeVar != null ?
|
||||
new ObjectParameter("nomeVar", nomeVar) :
|
||||
new ObjectParameter("nomeVar", typeof(string));
|
||||
|
||||
return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction<AnagKeyValue>("stp_AKV_getByKey", nomeVarParameter);
|
||||
}
|
||||
|
||||
public virtual ObjectResult<AnagKeyValue> stp_AKV_getByKey(string nomeVar, MergeOption mergeOption)
|
||||
{
|
||||
var nomeVarParameter = nomeVar != null ?
|
||||
new ObjectParameter("nomeVar", nomeVar) :
|
||||
new ObjectParameter("nomeVar", typeof(string));
|
||||
|
||||
return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction<AnagKeyValue>("stp_AKV_getByKey", mergeOption, nomeVarParameter);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user