Exemple #1
0
 /// <summary>
 /// Cria a instancia com os dados do modelo de dados.
 /// </summary>
 /// <param name="dataModel"></param>
 /// <param name="uiContext"></param>
 /// <param name="entityTypeManager"></param>
 public Otimizacao(Glass.Data.Model.Otimizacao dataModel, string uiContext, Colosoft.Business.IEntityTypeManager entityTypeManager)
     : base(dataModel, uiContext, entityTypeManager)
 {
     _layoutsOtimizacao = CreateChild <Colosoft.Business.IEntityChildrenList <LayoutPecaOtimizada> >("LayoutsOtimizacao");
 }
Exemple #2
0
 /// <summary>
 /// Construtor padrão.
 /// </summary>
 /// <param name="args"></param>
 protected Otimizacao(Colosoft.Business.EntityLoaderCreatorArgs <Glass.Data.Model.Otimizacao> args)
     : base(args.DataModel, args.UIContext, args.TypeManager)
 {
     _layoutsOtimizacao = GetChild <LayoutPecaOtimizada>(args.Children, "LayoutsOtimizacao");
 }