protected internal override void PostRetrieving(PostRetrievingContext ctx) { if (this.innerList.Any(a => a.RowId == null)) { return; //The MList was changed in the entity PostRetriever, like UserChart Columns } if (this.innerList.Select(a => a.RowId !.Value).Duplicates().Any()) { throw new InvalidOperationException("Duplicated RowId found, possible problem in LINQ provider"); } if (this.innerList.Any(a => a.OldIndex.HasValue)) { this.innerList.Sort(a => a.OldIndex !.Value); } }
protected internal override void PostRetrieving(PostRetrievingContext ctx) { RebindEvents(); }
public void AssignAndPostRetrieving(IMListPrivate newList, PostRetrievingContext ctx) { this.AssignMList((MList <T>)newList); this.PostRetrieving(ctx); }
void IMListPrivate.ExecutePostRetrieving(PostRetrievingContext ctx) { this.PostRetrieving(ctx); }
protected internal virtual void PostRetrieving(PostRetrievingContext ctx) { }
protected internal override void PostRetrieving(PostRetrievingContext ctx) { throw new InvalidOperationException("ModelEntities are not meant to be retrieved"); }