public ApasRegularView UpdateApasRegular(ApasRegularView obj)
    {
        //security and design reconsideration
        ApasRegular objReg = new ApasRegular();
        objReg.Id = obj.Id;
        objReg.LoadData();
        objReg.ColorCode = obj.ColorCode;
        objReg.Save();

        EntityConverter ecov = new EntityConverter();
        return ecov.ConvertRegular(objReg);
    }
Beispiel #2
0
 public virtual ApasRegular GetAssociatedClass()
 {
     ApasRegular result = new ApasRegular();
     result.Id = IdRegular;
     result.LoadData();
     return result;
 }