Beispiel #1
0
 public void CreateSubItemSetor(Subitemsetor subItemSetor)
 {
     _conexao.Insert(subItemSetor);
 }
Beispiel #2
0
 public List <ItemSubItem> GetListItemsSubItem(Subitemsetor subItemSetor)
 {
     return(_conexao.Table <ItemSubItem>().Where(a => a.RelatoriosId == subItemSetor.Idrelatorio && a.Idsetor == subItemSetor.Idsetor && a.Idsubitem == subItemSetor.Id).ToList());
 }
Beispiel #3
0
 public ItemSubItem GetItemsSubItem(Subitemsetor subItemSetor)
 {
     return(_conexao.Table <ItemSubItem>().Where(a => a.RelatoriosId == subItemSetor.Idrelatorio && a.Idsetor == subItemSetor.Idsetor && a.Id == subItemSetor.Id).FirstOrDefault());
 }
Beispiel #4
0
 public void UpdateeSubItemSetor(Subitemsetor subItemSetor)
 {
     _conexao.Update(subItemSetor);
 }