Пример #1
0
 /// <summary>
 /// 用于向 TB_Floor_Hot EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToTB_Floor_Hot(TB_Floor_Hot tB_Floor_Hot)
 {
     base.AddObject("TB_Floor_Hot", tB_Floor_Hot);
 }
Пример #2
0
 /// <summary>
 /// 创建新的 TB_Floor_Hot 对象。
 /// </summary>
 /// <param name="floorId">FloorId 属性的初始值。</param>
 /// <param name="floorName">FloorName 属性的初始值。</param>
 /// <param name="order">Order 属性的初始值。</param>
 /// <param name="isShow">IsShow 属性的初始值。</param>
 /// <param name="createBy">CreateBy 属性的初始值。</param>
 /// <param name="createDate">CreateDate 属性的初始值。</param>
 public static TB_Floor_Hot CreateTB_Floor_Hot(global::System.Int32 floorId, global::System.String floorName, global::System.Int32 order, global::System.Boolean isShow, global::System.String createBy, global::System.DateTime createDate)
 {
     TB_Floor_Hot tB_Floor_Hot = new TB_Floor_Hot();
     tB_Floor_Hot.FloorId = floorId;
     tB_Floor_Hot.FloorName = floorName;
     tB_Floor_Hot.Order = order;
     tB_Floor_Hot.IsShow = isShow;
     tB_Floor_Hot.CreateBy = createBy;
     tB_Floor_Hot.CreateDate = createDate;
     return tB_Floor_Hot;
 }