/// <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.Decimal 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<T> 属性的 .Add 方法。 /// </summary> public void AddToTEST_STUDENT(TEST_STUDENT tEST_STUDENT) { base.AddObject("TEST_STUDENT", 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.Decimal 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; }