コード例 #1
0
        private static Category Convert(tblMoneyBox_Categories obj)
        {
            if (obj == null)
            {
                return null;
            }

            var category = new Category(obj.Id, obj.CreatedDate, obj.CreatedBy, obj.ModifiedDate, obj.ModifiedBy);
            category.CopyFromObject(obj);
            return category;
        }