Beispiel #1
0
partial         void OnToEntity(SystemJob entity, ControllerContext controllerContext);
Beispiel #2
0
 public void ToEntity(SystemJob entity, ControllerContext controllerContext)
 {
     entity.StartTime = StartTime;
     OnToEntity(entity, controllerContext);
 }
Beispiel #3
0
partial         void OnFromEntity(SystemJob entity, bool isPostback, ControllerContext controllerContext);
Beispiel #4
0
        public void FromEntity(SystemJob entity, bool isPostback, ControllerContext controllerContext)
        {
            if(!isPostback){

                StartTime = entity.StartTime;
            }

            Name = entity.Name;
            OnFromEntity(entity, isPostback, controllerContext);
        }