Esempio n. 1
0
 private DbItem GetDbItem(MySqlDataReader reader)
 {
     return new DbItem
            {
                Id = reader.GetInt32("id"),
                Value = reader.GetNullableString("value"),
                RefId = reader.GetNullableInt("ref_id")
            };
 }