public static ILineContainer <S> EntityDetailControl <T, S>(this ILineContainer <T> container, Expression <Func <T, S> > property, TreeScope scope = TreeScope.Descendants) where T : ModifiableEntity where S : ModifiableEntity { PropertyRoute route = container.GetRoute(property); return(container.EntityDetail(route, scope).GetDetailControl <S>()); }
public static EntityDetailProxy EntityDetail <T>(this ILineContainer <T> container, Expression <Func <T, object> > property, TreeScope scope = TreeScope.Descendants) where T : ModifiableEntity { PropertyRoute route = container.GetRoute(property); return(container.EntityDetail(route, scope)); }