Adds SQL Queries for Update, Read and Insert
This commit is contained in:
parent
7af6f7fae6
commit
2c4625e426
4 changed files with 197 additions and 1 deletions
|
|
@ -87,6 +87,7 @@ namespace TShockAPI.DB
|
|||
{typeof(decimal), (s, i) => s.GetDecimal(i)},
|
||||
{typeof(float), (s, i) => s.GetFloat(i)},
|
||||
{typeof(double), (s, i) => s.GetDouble(i)},
|
||||
{typeof(object), (s, i) => s.GetValue(i)},
|
||||
};
|
||||
|
||||
public static T Get<T>(this IDataReader reader, string column)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue