コード例 #1
0
ファイル: SMT_FB_EFModel.Designer.cs プロジェクト: JuRogn/OA
 /// <summary>
 /// 创建新的 T_FB_SUBJECT 对象。
 /// </summary>
 /// <param name="sUBJECTID">SUBJECTID 属性的初始值。</param>
 /// <param name="sUBJECTNAME">SUBJECTNAME 属性的初始值。</param>
 /// <param name="sUBJECTCODE">SUBJECTCODE 属性的初始值。</param>
 /// <param name="aCTIVED">ACTIVED 属性的初始值。</param>
 /// <param name="cREATEUSERID">CREATEUSERID 属性的初始值。</param>
 /// <param name="cREATEDATE">CREATEDATE 属性的初始值。</param>
 /// <param name="uPDATEUSERID">UPDATEUSERID 属性的初始值。</param>
 /// <param name="uPDATEDATE">UPDATEDATE 属性的初始值。</param>
 /// <param name="eDITSTATES">EDITSTATES 属性的初始值。</param>
 public static T_FB_SUBJECT CreateT_FB_SUBJECT(global::System.String sUBJECTID, global::System.String sUBJECTNAME, global::System.String sUBJECTCODE, global::System.Decimal aCTIVED, global::System.String cREATEUSERID, global::System.DateTime cREATEDATE, global::System.String uPDATEUSERID, global::System.DateTime uPDATEDATE, global::System.Decimal eDITSTATES)
 {
     T_FB_SUBJECT t_FB_SUBJECT = new T_FB_SUBJECT();
     t_FB_SUBJECT.SUBJECTID = sUBJECTID;
     t_FB_SUBJECT.SUBJECTNAME = sUBJECTNAME;
     t_FB_SUBJECT.SUBJECTCODE = sUBJECTCODE;
     t_FB_SUBJECT.ACTIVED = aCTIVED;
     t_FB_SUBJECT.CREATEUSERID = cREATEUSERID;
     t_FB_SUBJECT.CREATEDATE = cREATEDATE;
     t_FB_SUBJECT.UPDATEUSERID = uPDATEUSERID;
     t_FB_SUBJECT.UPDATEDATE = uPDATEDATE;
     t_FB_SUBJECT.EDITSTATES = eDITSTATES;
     return t_FB_SUBJECT;
 }
コード例 #2
0
ファイル: SMT_FB_EFModel.Designer.cs プロジェクト: JuRogn/OA
 /// <summary>
 /// 用于向 T_FB_SUBJECT EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToT_FB_SUBJECT(T_FB_SUBJECT t_FB_SUBJECT)
 {
     base.AddObject("T_FB_SUBJECT", t_FB_SUBJECT);
 }