예제 #1
0
파일: TopU.Designer.cs 프로젝트: LuoSven/EM
 /// <summary>
 /// 用于向 TB_Enterprise EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToTB_Enterprise(TB_Enterprise tB_Enterprise)
 {
     base.AddObject("TB_Enterprise", tB_Enterprise);
 }
예제 #2
0
파일: TopU.Designer.cs 프로젝트: LuoSven/EM
 /// <summary>
 /// 创建新的 TB_Enterprise 对象。
 /// </summary>
 /// <param name="enterpriseId">EnterpriseId 属性的初始值。</param>
 /// <param name="status">Status 属性的初始值。</param>
 /// <param name="createDate">CreateDate 属性的初始值。</param>
 /// <param name="modifyDate">ModifyDate 属性的初始值。</param>
 public static TB_Enterprise CreateTB_Enterprise(global::System.Int32 enterpriseId, global::System.Int32 status, global::System.DateTime createDate, global::System.DateTime modifyDate)
 {
     TB_Enterprise tB_Enterprise = new TB_Enterprise();
     tB_Enterprise.EnterpriseId = enterpriseId;
     tB_Enterprise.Status = status;
     tB_Enterprise.CreateDate = createDate;
     tB_Enterprise.ModifyDate = modifyDate;
     return tB_Enterprise;
 }