/// <summary> /// 用于向 TB_Floor EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToTB_Floor(TB_Floor tB_Floor) { base.AddObject("TB_Floor", tB_Floor); }
/// <summary> /// 创建新的 TB_Floor 对象。 /// </summary> /// <param name="floorId">FloorId 属性的初始值。</param> /// <param name="floorName">FloorName 属性的初始值。</param> /// <param name="order">Order 属性的初始值。</param> /// <param name="isShow">IsShow 属性的初始值。</param> /// <param name="createDate">CreateDate 属性的初始值。</param> public static TB_Floor CreateTB_Floor(global::System.Int32 floorId, global::System.String floorName, global::System.Int32 order, global::System.Boolean isShow, global::System.DateTime createDate) { TB_Floor tB_Floor = new TB_Floor(); tB_Floor.FloorId = floorId; tB_Floor.FloorName = floorName; tB_Floor.Order = order; tB_Floor.IsShow = isShow; tB_Floor.CreateDate = createDate; return tB_Floor; }