DotNet.UserCenter/Organize.ashx.cs

(开头部分) 15KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

//-----------------------------------------------------------------------
// <copyright file="Organize.ashx" company="Hairihan">
//     Copyright (c) 2014 , All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Data;
using System.Web;
using System.Web.Script.Serialization;

namespace DotNet.UserCenter
{
    using DotNet.Business;
    using DotNet.Utilities;

    /// <summary>
    /// Organize
    /// 组织机构接口
    /// 
    /// 修改纪录
    /// 
    /// 2014-01-15 版本:1.0 JiRiGaLa 创建。
    /// 
    /// <author>
    ///     <name>JiRiGaLa</name>
    ///     <date>2014-01-15</date>
    /// </author>
    /// </summary>
    public class Organize : IHttpHandler
    {
        [Serializable]
        class OrganizeEntity
        {
            public OrganizeEntity(int? id, string parentId, string fullName, int? sortCode)
            {
                if (id.HasValue)
                {
                    Id = id.ToString();
                }
                ParentId = parentId;
                FullName = fullName;
                SortCode = sortCode;
            }

            public OrganizeEntity(int? id, int? parentId, string fullName, int? sortCode)
            {
                if (id.HasValue)
                {
                    Id = id.ToString();
                }
                if (parentId.HasValue)
                {
                    ParentId = parentId.ToString();
                }
                FullName = fullName;
                SortCode = sortCode;
            }
后面还有 388 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。