Hi All,
MM.Net v.4.0
Visual Studio 2010.
Web Application
I am trying to use the StoreEntityListInSession method for the first time and when I debug, I get the error:
Type 'BizObjEntity' in Assembly 'BizObjProj', Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.
I'm calling it from the myButton_Click method of a button on a webform.
I get no compile errors at all. Here is what it looks like:
protected void btnMoveToNewYear_Click(object sender, EventArgs e)
{
AthlEligMovStudToNewYr movRes = new AthlEligMovStudToNewYr(sourceyear, targetyear);
this.oAthlEligibility.EntityList = movRes.CarryForwardIsYes; //this is an mmBindingList
StoreEntityListInSession<AthlEligibilityEntity>(this.oAthlEligibility.EntityList, "CarryForwardIsYes");
StoreEntityListInSession<AthlEligibilityEntity>(movRes.CarryForwardIsYes, "CarryForwardIsYes");
}
Can anyone see what I'm missing?
Thanks,
Don
Ps. Also, if I've goofed up the posting of this message in any way, alert me. I'm not
finding Universal Thread to be intuitive or maybe it's just so powerful that it takes
a while to acclimate to.