Beispiel #1
0
        /// <summary>
        /// 创建新的 test_student 对象。
        /// </summary>
        /// <param name="student_code">student_code 属性的初始值。</param>
        /// <param name="student_name">student_name 属性的初始值。</param>
        public static test_student Createtest_student(global::System.Int32 student_code, global::System.String student_name)
        {
            test_student test_student = new test_student();

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