コード例 #1
0
            public UserShiftRevenue ToUserShiftRevenue()
            {
                UserShiftRevenue inst = new UserShiftRevenue();

                this.AssignTo(inst); // set all properties to new instance.
                return(inst);
            }
コード例 #2
0
                public static SaveRevenueShift Create(UserShiftRevenue revenueShift,
                                                      string revenueId, DateTime revenueDate)
                {
                    var ret = new SaveRevenueShift();

                    ret.RevenueShift = revenueShift;
                    ret.RevenueId    = revenueId;
                    ret.RevenueDate  = revenueDate;
                    return(ret);
                }