Exemple #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.Decimal sTUDENT_CODE, global::System.Decimal cOURSE_CODE, global::System.Decimal 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.Decimal sTUDENT_CODE, global::System.Decimal cOURSE_CODE, global::System.Decimal 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;
 }
Exemple #3
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);
 }
 /// <summary>
 /// 用于向 TEST_SCORE EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToTEST_SCORE(TEST_SCORE tEST_SCORE)
 {
     base.AddObject("TEST_SCORE", tEST_SCORE);
 }