예제 #1
0
 public void GetLogsNew(DateTime since) =>
 ConnectionHelperNovo.Connect(connString, c => c.Query <LogMessage>(@"SELECT * FROM [Logs] WHERE {Timestamp} > @since",
                                                                    new { since = since }));
예제 #2
0
 public void LogNew(LogMessage msg) =>
 ConnectionHelperNovo.Connect(connString, c => c.Execute("sp_create_log", msg, commandType: CommandType.StoredProcedure));