Exemplo n.º 1
0
 public virtual int Add(T entity)
 {
     return(DbContext.Add(entity));
 }
Exemplo n.º 2
0
 public virtual int Add(T entity, bool useTran = false)
 {
     return(DbContext.Add(entity, useTran));
 }
 public virtual int Add(T entity, bool withTrigger = false)
 {
     return(DbContext.Add(entity, withTrigger));
 }
Exemplo n.º 4
0
 public virtual int Add <T>(T entity, bool withTrigger = false) where T : class, new()
 {
     return(DbContext.Add(entity, withTrigger));
 }