public static void SetChildrenAdapter <TContext, TView>(this IShadowMapper mapper, TContext context, IShadow <TView> shadow, IBackingDataHandler <TContext, TView> adapter) where TView : class { shadow.State.Set(adapter); }
public static void ClearChildrenAdapter <TContext, TView>(this IShadowMapper mapper, TContext context, IShadow <TView> shadow) where TView : class { shadow.State.Delete <IBackingDataHandler <TContext, TView> >(); }
public static void RemoveChildren <TContext, TView>(this IShadowMapper mapper, TContext context, IShadow <TView> shadow, BasePrimitive <TView> current) where TView : class { var adapter = shadow.State.Get <IBackingDataHandler <TContext, TView> >(); adapter.Remove(context, current); }