public static DateTime CurrDate() { using (AttMonSysRFIDDataContext dc = new AttMonSysRFIDDataContext(SystemConnection.ConnectionString)) { return(dc.ExecuteQuery <DateTime>("SELECT GETDATE()").FirstOrDefault()); } }
public static DateTime CurrDate() { using (AttMonSysRFIDDataContext dc = new AttMonSysRFIDDataContext(SystemConnection.ConnectionString)) { return(dc.ExecuteQuery <DateTime>("SELECT GETDATE()").FirstOrDefault()); } }