Exemplo n.º 1
0
 public Step(IDataReader reader)
     : this(DbUtil.GetInt(reader, "step_id")
            , DbUtil.GetString(reader, "name")
            , DbUtil.GetInt(reader, "map_id")
            , DbUtil.GetInt(reader, "queue_id")
            , NO_NEXT_STEP
            , (Step.StepType)(DbUtil.GetInt(reader, "type"))
            )
 {
     if (!DbUtil.IsNull(reader, "next_step_id"))
     {
         this.NextStepId = DbUtil.GetInt(reader, "next_step_id");
     }
 }