コード例 #1
0
 //GERAL
 public void Add <T>(T entity) where T : class
 {
     _context.Add(entity);
 }
コード例 #2
0
 public void Add <T>(T entity) where T : class
 {
     _proAgilContext.Add(entity);
 }
コード例 #3
0
 // GERAIS.
 public void Add <T>(T entity) where T : class
 {
     // Pegar o contexto e passa a entidade.
     _context.Add(entity);
 }