List<Entity> Problem
<p>I have this kind of code</p>

<pre><code>foreach(GridViewRow row in gvTagDeductionList.Rows)
{
    DeductionEntity de = new DeductionEntity();

    //modify this condition, make cell number to be more dynamic
    if (((CheckBox)row.Cells[2].FindControl("chkInclude")).Checked == true)
    {
        //following id's are said to be in numeric format in the first place
        //ede.EmployeeID = Convert.ToInt32(HttpContext.Current.Session["_newEmpID"].ToString());
        ede.DeductionID = Convert.ToInt32((((Label)row.Cells[0].FindControl("lblID")).Text).ToString());
        ede.CreatedBy_UserID = Convert.ToInt32(HttpContext.Current.Session["_employeeID"].ToString());
        ede.UpdatedBy_UserID = Convert.ToInt32(HttpContext.Current.Session["_employeeID"].ToString());
        de = e201u.GetDeductionDetails(ede.DeductionID);
        e201u.InsertEmployeeDeduction(ede);
        lstEntity.Add(de);
    }
}

de = e201u.GetDeductionDetails(ede.DeductionID);
</code></pre>

<p>After the second encounter of this code inside the loop, the first record in this code <code>lstEntity.Add(de);</code> will be altered and in the end i will end up with two entry in my list of the last entity get by this <code>de = e201u.GetDeductionDetails(ede.DeductionID);</code></p>
