Beispiel #1
0
 public int Proc_ExecuteSqlCommand(string sql, params System.Data.SqlClient.SqlParameter[] parms)
 {
     return(EFFactory.GetDBEntity().Database.ExecuteSqlCommand(sql, parms));
 }
Beispiel #2
0
 public List <T> Proc_SqlQuery <T>(string sql, params System.Data.SqlClient.SqlParameter[] parms) where T : class
 {
     return(EFFactory.GetDBEntity().Database.SqlQuery <T>(sql, parms).ToList());
 }
Beispiel #3
0
 public int SaveChanges()
 {
     return(EFFactory.GetDbContext().SaveChanges());
 }