/// <summary> /// 用于向 V_ShopForList EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToV_ShopForList(V_ShopForList v_ShopForList) { base.AddObject("V_ShopForList", v_ShopForList); }
/// <summary> /// 创建新的 V_ShopForList 对象。 /// </summary> /// <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="categoryId">CategoryId 属性的初始值。</param> /// <param name="createTime">CreateTime 属性的初始值。</param> /// <param name="areaId">AreaId 属性的初始值。</param> /// <param name="category">Category 属性的初始值。</param> /// <param name="longitude">Longitude 属性的初始值。</param> /// <param name="latitude">Latitude 属性的初始值。</param> /// <param name="stars">Stars 属性的初始值。</param> /// <param name="averagePayMoney">AveragePayMoney 属性的初始值。</param> /// <param name="deliveryTime">DeliveryTime 属性的初始值。</param> /// <param name="hidden">Hidden 属性的初始值。</param> /// <param name="visits">Visits 属性的初始值。</param> /// <param name="createByUserName">CreateByUserName 属性的初始值。</param> /// <param name="createBy">CreateBy 属性的初始值。</param> public static V_ShopForList CreateV_ShopForList(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.Int32 categoryId, global::System.DateTime createTime, global::System.Int32 areaId, global::System.String category, global::System.Double longitude, global::System.Double latitude, global::System.Int16 stars, global::System.Int16 averagePayMoney, global::System.Int16 deliveryTime, global::System.Boolean hidden, global::System.Int16 visits, global::System.String createByUserName, global::System.Int32 createBy) { V_ShopForList v_ShopForList = new V_ShopForList(); v_ShopForList.Id = id; v_ShopForList.Name = name; v_ShopForList.Address = address; v_ShopForList.PhoneNumber = phoneNumber; v_ShopForList.OfficeTimeBegin = officeTimeBegin; v_ShopForList.OfficeTimeEnd = officeTimeEnd; v_ShopForList.UpSendPrice = upSendPrice; v_ShopForList.CategoryId = categoryId; v_ShopForList.CreateTime = createTime; v_ShopForList.AreaId = areaId; v_ShopForList.Category = category; v_ShopForList.Longitude = longitude; v_ShopForList.Latitude = latitude; v_ShopForList.Stars = stars; v_ShopForList.AveragePayMoney = averagePayMoney; v_ShopForList.DeliveryTime = deliveryTime; v_ShopForList.Hidden = hidden; v_ShopForList.Visits = visits; v_ShopForList.CreateByUserName = createByUserName; v_ShopForList.CreateBy = createBy; return v_ShopForList; }