Commit graph

30 commits

Author SHA1 Message Date
Janet Blackquill
f63b26ac76 Some i18nifiying 2022-10-21 16:12:04 -04:00
Luke
5a98add6de Fix sqlite null parameters + unit test 2022-09-08 16:08:16 +10:00
Luke
c063aabbc0 Switch to Microsoft.Data.Sqlite for arm64
There is a slight change the the way QueryResult works in order to satisfy the variances in the new library.
Disposing of the command with the reader appears to solve this, and hopefully, with minimal impact to plugins.
2022-03-27 21:38:58 +10:00
Chris
3fe192cbfa Re-enable Int64 override for IDataReader.Get 2020-11-29 18:23:35 +10:30
Chris
ce2873fa81 Some more type checking on QueryScalar 2020-11-29 15:18:03 +10:30
Chris
cde4cc5f04 Ban rewrite and various other adjustments 2020-11-26 17:20:19 +10:30
Lucas Nicodemus
70dd72443d Update copyright to 2019 again
Fixes #1658, most likely.
2019-03-29 17:16:37 -07:00
Lucas Nicodemus
569b350cea Update to Pryaxis, 2018 part 2
If there's one thing I learned in this exercise, it's that letting
people add random python scripts to the repo like gpltext.py that
promise to be easier than find and replace is a bad idea.
2018-01-01 02:20:56 -07:00
Edgar Luque
83f02e49aa Format better 2017-12-09 16:04:27 +01:00
Edgar Luque
6a6133f3f7 Add xml comments and DateTime datatype support for SQL 2017-12-09 11:35:31 +01:00
Tyler Watson
a102551588 System.Data.SQLite.Core support in GetSqlType()
GetSqlType() does not recognise System.Data.SQLite.Core because the type of the SQL connection class has been renamed to `SQLiteConnection` from `SqliteConnection`.  This commit adds support for both, so that the DB manager classes can operate with plugins which reference the new SQLite ADO.net providers from NuGet.
2017-04-14 17:33:48 +10:00
White
c4a3a9fb67 Updated Copyright for 2017 2017-03-13 12:17:16 +10:30
Adilson Carvalho
49b4effe74 Changed year to 2016 on all GPL headers 2016-10-16 17:06:02 -02:00
Patrikk
76597fce37 Show proper error at db connect fail 2016-06-25 13:31:23 +02:00
Zack
f9bf470b1d Tick version and update copyright 2015-01-28 15:29:13 -05:00
Zack
fb451c6d49 Update license header for 2014 2014-07-10 21:48:33 -04:00
CoderCow
39a81cfa66 -SSC now saves player hair, hair color, hair dye, cloth colors and accessory visibility.
-Fixed hair changes now showing up to other players ingame.
2014-02-26 22:24:03 +01:00
Lucas Nicodemus
ae7ab5f234 Updated copyright information to point to 2013. 2013-08-22 21:51:17 -06:00
Lucas Nicodemus
8d5cdf04a8 Update copyright to reflect actual year date. 2012-04-24 12:45:46 -06:00
Lucas Nicodemus
bf9d0137f1 Added any missing license headers to all files 2012-01-01 03:06:48 -07:00
Lucas Nicodemus
c6abbfe4d2 ReSharper code reformat to match naming conventions and stuff 2011-12-30 14:38:04 -07:00
Lucas Nicodemus
1147788154 ReSharper redundant code cleanup 2011-12-30 14:32:05 -07:00
high
c2f52cec07 Added extension for key/value querying 2011-09-26 21:49:21 -04:00
high
e55b1964fb Fixed QueryResult.Reader being null 2011-09-24 18:57:40 -04:00
high
56eca71853 Fixed SCA warnings 2011-08-06 16:49:40 -04:00
high
ecb843ec5a Fixed mysql not checking if the column data is not null. 2011-08-05 01:30:46 -04:00
Twitchy
2c4625e426 Adds SQL Queries for Update, Read and Insert 2011-08-04 21:53:02 +12:00
high
423a33325a Finished:
-sqlite altering
-implemented mysql
Todo:
-Merge SqlTableCreator into the querybuilders or make it static
-Make all the managers use the querybuilder for making tables. (See GroupManager.cs for an example)
-Implement more datatypes (see TypesAsStrings in IQueryBuilder.cs)
2011-08-03 18:37:42 -04:00
high
4bab43466c Adding classes to make querying between sqlite/mysql easier 2011-08-03 02:52:44 -04:00
high
df196ae632 Moved extensions 2011-08-02 19:29:15 -04:00
Renamed from TShockAPI/DB/DbExt.cs (Browse further)