/// <summary>
 /// 用于向 连线题选项表 EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTo连线题选项表(连线题选项表 连线题选项表)
 {
     base.AddObject("连线题选项表", 连线题选项表);
 }
        /// <summary>
        /// 界面无需使用此方法
        /// </summary>
        /// <returns></returns>
        public 试题内容表 类映射表赋值()
        {
            试题内容表 content = new 试题内容表();
            content.ID = this.ID;
            content.操作人ID = this.操作人ID;
            content.操作时间 = DateTime.Now;
            content.解题思路 = this.解题思路;
            content.试题外部信息ID = this.试题外部信息ID;
            content.题干HTML = this.题干HTML;
            content.题干文本 = this.题干文本;
            content.小题型Enum = 30;
            content.难易度 = this.难易度;

            for (int i = 0; i < this.连线题左选项集合.Count; i++)
            {
                连线题选项表 choice = new 连线题选项表();
                choice.ID = this.连线题左选项集合[i].ID;
                choice.连线标记 = 0;
                choice.顺序 = Convert.ToByte(i);
                choice.选项内容HTML = this.连线题左选项集合[i].选项内容HTML;
                choice.选项内容文本 = this.连线题左选项集合[i].选项内容文本;
                content.连线题选项表.Add(choice);
            }
            for (int j = 0; j < this.连线题右选项集合.Count; j++)
            {
                连线题选项表 rightChoice = new 连线题选项表();
                rightChoice.ID = this.连线题右选项集合[j].ID;
                rightChoice.连线标记 = 1;
                rightChoice.顺序 = Convert.ToByte(j);
                rightChoice.选项内容HTML = this.连线题右选项集合[j].选项内容HTML;
                rightChoice.选项内容文本 = this.连线题右选项集合[j].选项内容文本;
                content.连线题选项表.Add(rightChoice);
            }
            for (int k = 0; k < this.连线题答案集合.Count; k++)
            {
                连线题答案表 answer = new 连线题答案表();
                answer.ID = Guid.NewGuid();
                answer.顺序 = Convert.ToByte(k);
                answer.右边ID = this.连线题答案集合[k].连线题右选项ID;
                answer.左边ID = this.连线题答案集合[k].连线题左选项ID;
                content.连线题答案表.Add(answer);
            }
            content.Json字符串 = this.转化成Json带答案();
            content.爱考网ID = this.爱考网ID;
            return content;
        }
 /// <summary>
 /// 创建新的 连线题选项表 对象。
 /// </summary>
 /// <param name="id">ID 属性的初始值。</param>
 /// <param name="试题内容ID">试题内容ID 属性的初始值。</param>
 /// <param name="选项内容HTML">选项内容HTML 属性的初始值。</param>
 /// <param name="选项内容文本">选项内容文本 属性的初始值。</param>
 /// <param name="连线标记">连线标记 属性的初始值。</param>
 /// <param name="顺序">顺序 属性的初始值。</param>
 public static 连线题选项表 Create连线题选项表(global::System.Guid id, global::System.Guid 试题内容ID, global::System.String 选项内容HTML, global::System.String 选项内容文本, global::System.Byte 连线标记, global::System.Byte 顺序)
 {
     连线题选项表 连线题选项表 = new 连线题选项表();
     连线题选项表.ID = id;
     连线题选项表.试题内容ID = 试题内容ID;
     连线题选项表.选项内容HTML = 选项内容HTML;
     连线题选项表.选项内容文本 = 选项内容文本;
     连线题选项表.连线标记 = 连线标记;
     连线题选项表.顺序 = 顺序;
     return 连线题选项表;
 }