protected void cbLoadFund_Callback(object source, DevExpress.Web.ASPxCallback.CallbackEventArgs e) { int MFAccountID = Convert.ToInt32(e.Parameter); MFAccount Account = MFAccount.Find(iSabayaContext, MFAccountID); List <MutualFund> tempLists = (List <MutualFund>)Session[this.ClientID + "tempLists"]; List <MutualFund> fundLists = new List <MutualFund>(); foreach (MFInvestment item in MFInvestment.Find(iSabayaContext, null, Account)) { if (tempLists.Contains(item.Fund)) { fundLists.Add(item.Fund); } } if (fundLists.Count > 0) { fundLists.Sort((x, y) => string.Compare(x.Code, y.Code)); } Session[this.ClientID + "FundLists"] = fundLists; }
public VOAccountBalance2(MFInvestment instance) { this.instance = instance; }