Exemplo n.º 1
0
 /// <summary>
 /// Update a PCEarplugsStayWireCheckDetail.
 /// </summary>
 public void Update(Model.PCEarplugsStayWireCheckDetail pCEarplugsStayWireCheckDetail)
 {
     //
     // todo: add other logic here.
     //
     accessor.Update(pCEarplugsStayWireCheckDetail);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Insert a PCEarplugsStayWireCheckDetail.
 /// </summary>
 public void Insert(Model.PCEarplugsStayWireCheckDetail pCEarplugsStayWireCheckDetail)
 {
     //
     // todo:add other logic here
     //
     accessor.Insert(pCEarplugsStayWireCheckDetail);
 }
Exemplo n.º 3
0
        /// <summary>
        /// 重写父类方法
        /// </summary>
        /// <param name="args"></param>
        /// <returns></returns>
        protected override Book.UI.Settings.BasicData.BaseEditForm GetEditForm(object[] args)
        {
            Type type = typeof(EditFormStayWire);

            Model.PCEarplugsStayWireCheckDetail model = args[0] as Model.PCEarplugsStayWireCheckDetail;
            if (model != null)
            {
                args[0] = model.PCEarplugsStayWireCheckId;
            }

            return((EditFormStayWire)type.Assembly.CreateInstance(type.FullName, false, System.Reflection.BindingFlags.CreateInstance, null, args, null, null));
        }
 public void Update(Model.PCEarplugsStayWireCheckDetail e)
 {
     this.Update <Model.PCEarplugsStayWireCheckDetail>(e);
 }
 public void Insert(Model.PCEarplugsStayWireCheckDetail e)
 {
     this.Insert <Model.PCEarplugsStayWireCheckDetail>(e);
 }