public HeroDoll GetDoll(long dollID) { // IDbConnection db = new SqlConnection(server); HeroDoll doll = db.QuerySingle <HeroDoll>($"select * from HeroDoll where id = {dollID}"); return(doll); }
public void CreateDoll(HeroDoll doll, long playerID) { // IDbConnection db = new SqlConnection(server); db.Insert(doll); }