public Character(DataRow Row) { using (var Adapter = new RowAdapter(Row)) { this.Id = Adapter.Get<int>("id"); this.Username = Adapter.Get<string>("username"); this.ActivityPoints = Adapter.Get<int>("activity_points"); this.Credits = Adapter.Get<int>("credits"); } }