Example #1
0
 /// <summary>
 /// 用于向 TB_Floor_HotPosition EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToTB_Floor_HotPosition(TB_Floor_HotPosition tB_Floor_HotPosition)
 {
     base.AddObject("TB_Floor_HotPosition", tB_Floor_HotPosition);
 }
Example #2
0
 /// <summary>
 /// 创建新的 TB_Floor_HotPosition 对象。
 /// </summary>
 /// <param name="id">ID 属性的初始值。</param>
 /// <param name="floorId">FloorId 属性的初始值。</param>
 /// <param name="positionId">PositionId 属性的初始值。</param>
 /// <param name="position">Position 属性的初始值。</param>
 /// <param name="enterpriseId">EnterpriseId 属性的初始值。</param>
 /// <param name="enterpriseName">EnterpriseName 属性的初始值。</param>
 /// <param name="isHot">IsHot 属性的初始值。</param>
 /// <param name="city">City 属性的初始值。</param>
 /// <param name="createBy">CreateBy 属性的初始值。</param>
 /// <param name="createDate">CreateDate 属性的初始值。</param>
 public static TB_Floor_HotPosition CreateTB_Floor_HotPosition(global::System.Int32 id, global::System.Int32 floorId, global::System.Int32 positionId, global::System.String position, global::System.Int32 enterpriseId, global::System.String enterpriseName, global::System.Boolean isHot, global::System.String city, global::System.String createBy, global::System.DateTime createDate)
 {
     TB_Floor_HotPosition tB_Floor_HotPosition = new TB_Floor_HotPosition();
     tB_Floor_HotPosition.ID = id;
     tB_Floor_HotPosition.FloorId = floorId;
     tB_Floor_HotPosition.PositionId = positionId;
     tB_Floor_HotPosition.Position = position;
     tB_Floor_HotPosition.EnterpriseId = enterpriseId;
     tB_Floor_HotPosition.EnterpriseName = enterpriseName;
     tB_Floor_HotPosition.IsHot = isHot;
     tB_Floor_HotPosition.City = city;
     tB_Floor_HotPosition.CreateBy = createBy;
     tB_Floor_HotPosition.CreateDate = createDate;
     return tB_Floor_HotPosition;
 }