예제 #1
0
        private UIActionType ConvertAction(GTS.Business.UIActionType type)
        {
            switch (type)
            {
            case GTS.Business.UIActionType.ADD:
                return(UIActionType.ADD);

            case GTS.Business.UIActionType.DELETE:
                return(UIActionType.DELETE);

            case GTS.Business.UIActionType.EDIT:
                return(UIActionType.EDIT);
            }
            return(UIActionType.EDIT);
        }
예제 #2
0
 protected override void BaseUIValidate(T obj, GTS.Business.UIActionType action)
 {
     this.UIValidate(obj, ConvertAction(action));
 }
예제 #3
0
 protected override void BaseOnSaveChangesSuccess(T obj, GTS.Business.UIActionType action)
 {
     this.OnSaveChangesSuccess(obj, ConvertAction(action));
 }
예제 #4
0
 protected override void BaseGetReadyBeforeSave(T obj, GTS.Business.UIActionType action)
 {
     this.GetReadyBeforeSave(obj, ConvertAction(action));
 }