Esempio n. 1
0
        /// <summary>
        /// 创建新的 test_score 对象。
        /// </summary>
        /// <param name="student_code">student_code 属性的初始值。</param>
        /// <param name="course_code">course_code 属性的初始值。</param>
        /// <param name="score_value">score_value 属性的初始值。</param>
        public static test_score Createtest_score(global::System.Int32 student_code, global::System.Int32 course_code, global::System.Int32 score_value)
        {
            test_score test_score = new test_score();

            test_score.student_code = student_code;
            test_score.course_code  = course_code;
            test_score.score_value  = score_value;
            return(test_score);
        }
 /// <summary>
 /// 创建新的 test_score 对象。
 /// </summary>
 /// <param name="student_code">student_code 属性的初始值。</param>
 /// <param name="course_code">course_code 属性的初始值。</param>
 /// <param name="score_value">score_value 属性的初始值。</param>
 public static test_score Createtest_score(global::System.Int32 student_code, global::System.Int32 course_code, global::System.Int32 score_value)
 {
     test_score test_score = new test_score();
     test_score.student_code = student_code;
     test_score.course_code = course_code;
     test_score.score_value = score_value;
     return test_score;
 }
 /// <summary>
 /// 用于向 test_score EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTotest_score(test_score test_score)
 {
     base.AddObject("test_score", test_score);
 }
Esempio n. 4
0
 /// <summary>
 /// 用于向 test_score EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTotest_score(test_score test_score)
 {
     base.AddObject("test_score", test_score);
 }