Example #1
0
 public static DateTime getFechaHora()
 {
     using (dbCosolemEntities _dbCosolemEntities = new dbCosolemEntities())
         return(_dbCosolemEntities.ExecuteStoreQuery <DateTime>("SELECT GETDATE()").First());
 }