Example #1
0
 /// <summary>
 /// 用于向 V_ShopDetail EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToV_ShopDetail(V_ShopDetail v_ShopDetail)
 {
     base.AddObject("V_ShopDetail", v_ShopDetail);
 }
Example #2
0
 public ShopDetailModel(V_ShopDetail shopInfo, IQueryable<V_ShopServiceArea> shopServiceAreas, 
     IQueryable<V_ShopDisheWithCategory> shopDishesList, IQueryable<V_ShopComment> shopComments)
 {
     this.ShopInfo = shopInfo;
     this.ShopServiceAreasList = shopServiceAreas;
     this.ShopDishesList = shopDishesList;
     this.ShopComments = shopComments;
 }
Example #3
0
 /// <summary>
 /// 创建新的 V_ShopDetail 对象。
 /// </summary>
 /// <param name="stars">Stars 属性的初始值。</param>
 /// <param name="averagePayMoney">AveragePayMoney 属性的初始值。</param>
 /// <param name="deliveryTime">DeliveryTime 属性的初始值。</param>
 /// <param name="id">Id 属性的初始值。</param>
 /// <param name="name">Name 属性的初始值。</param>
 /// <param name="address">Address 属性的初始值。</param>
 /// <param name="phoneNumber">PhoneNumber 属性的初始值。</param>
 /// <param name="officeTimeBegin">OfficeTimeBegin 属性的初始值。</param>
 /// <param name="officeTimeEnd">OfficeTimeEnd 属性的初始值。</param>
 /// <param name="upSendPrice">UpSendPrice 属性的初始值。</param>
 /// <param name="longitude">Longitude 属性的初始值。</param>
 /// <param name="latitude">Latitude 属性的初始值。</param>
 /// <param name="hidden">Hidden 属性的初始值。</param>
 /// <param name="createBy">CreateBy 属性的初始值。</param>
 public static V_ShopDetail CreateV_ShopDetail(global::System.Int16 stars, global::System.Int16 averagePayMoney, global::System.Int16 deliveryTime, global::System.Int32 id, global::System.String name, global::System.String address, global::System.String phoneNumber, global::System.TimeSpan officeTimeBegin, global::System.TimeSpan officeTimeEnd, global::System.Int16 upSendPrice, global::System.Double longitude, global::System.Double latitude, global::System.Boolean hidden, global::System.Int32 createBy)
 {
     V_ShopDetail v_ShopDetail = new V_ShopDetail();
     v_ShopDetail.Stars = stars;
     v_ShopDetail.AveragePayMoney = averagePayMoney;
     v_ShopDetail.DeliveryTime = deliveryTime;
     v_ShopDetail.Id = id;
     v_ShopDetail.Name = name;
     v_ShopDetail.Address = address;
     v_ShopDetail.PhoneNumber = phoneNumber;
     v_ShopDetail.OfficeTimeBegin = officeTimeBegin;
     v_ShopDetail.OfficeTimeEnd = officeTimeEnd;
     v_ShopDetail.UpSendPrice = upSendPrice;
     v_ShopDetail.Longitude = longitude;
     v_ShopDetail.Latitude = latitude;
     v_ShopDetail.Hidden = hidden;
     v_ShopDetail.CreateBy = createBy;
     return v_ShopDetail;
 }